prettier-sql
Version:
Format whitespace in a SQL query to make it more readable
21 lines (20 loc) • 824 B
TypeScript
import Formatter from '../core/Formatter';
import Tokenizer from '../core/Tokenizer';
import { Token } from '../core/token';
import type { StringPatternType } from '../core/regexFactory';
export default class SparkSqlFormatter extends Formatter {
static reservedCommands: string[];
static reservedBinaryCommands: string[];
static reservedDependentClauses: 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;
tokenOverride(token: Token): Token;
}