UNPKG

sql-formatter

Version:

Format whitespace in a SQL query to make it more readable

20 lines (19 loc) 772 B
import Formatter from '../core/Formatter'; import Tokenizer from '../core/Tokenizer'; import type { StringPatternType } from '../core/regexFactory'; export default class PostgreSqlFormatter 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 indexedPlaceholderTypes: string[]; static namedPlaceholderTypes: string[]; static lineCommentTypes: string[]; static operators: string[]; tokenizer(): Tokenizer; }