UNPKG

rawsql-ts

Version:

High-performance SQL parser and AST analyzer written in TypeScript. Provides fast parsing and advanced transformation capabilities.

13 lines (12 loc) 588 B
import { IndentCharOption, NewlineOption } from './LinePrinter'; export type IdentifierEscapeName = 'quote' | 'backtick' | 'bracket' | 'none'; export type IdentifierEscapeOption = IdentifierEscapeName | { start: string; end: string; }; export declare function resolveIndentCharOption(option?: IndentCharOption): IndentCharOption | undefined; export declare function resolveNewlineOption(option?: NewlineOption): NewlineOption | undefined; export declare function resolveIdentifierEscapeOption(option?: IdentifierEscapeOption): { start: string; end: string; } | undefined;