@secam/pgsql-ast-parser
Version:
Fork of pgsql-ast-parser Simple Postgres SQL parser/modifier for pg-mem
15 lines • 595 B
TypeScript
import { PGComment } from './syntax/ast';
export declare const lexer: import("moo").Lexer;
export declare const lexerAny: any;
export declare function trackingComments<T>(act: () => T): {
ast: T;
comments: PGComment[];
};
export declare function tracking<T>(act: () => T): T;
export declare function track(xs: any, ret: any): any;
export declare function box(xs: any, value: any, doubleQuoted?: boolean): any;
export declare function doubleQuoted(value: any): {
doubleQuoted: boolean;
} | undefined;
export declare function unbox(value: any): any;
//# sourceMappingURL=lexer.d.ts.map