UNPKG

sql-formatter

Version:

Format whitespace in a SQL query to make it more readable

19 lines (18 loc) 720 B
import Formatter from '../core/Formatter'; import Tokenizer from '../core/Tokenizer'; import type { StringPatternType } from '../core/regexFactory'; export default class N1qlFormatter extends Formatter { static reservedCommands: string[]; static reservedBinaryCommands: string[]; static reservedDependentClauses: string[]; static reservedJoinConditions: string[]; static reservedLogicalOperators: string[]; static reservedKeywords: string[]; static stringTypes: StringPatternType[]; static blockStart: string[]; static blockEnd: string[]; static namedPlaceholderTypes: string[]; static lineCommentTypes: string[]; static operators: string[]; tokenizer(): Tokenizer; }