rhombic
Version:
SQL parsing, lineage extraction and manipulation
15 lines • 728 B
TypeScript
import { CompletionParserOptions, SqlCompletionParseTree } from "./SqlCompletionParseTree";
import { LineageParserOptions, SqlLineageParseTree } from "./SqlLineageParseTree";
declare function parse(sql: string, options: CompletionParserOptions): SqlCompletionParseTree;
declare function parse(sql: string, options?: LineageParserOptions): SqlLineageParseTree;
declare const antlr: {
/**
* Parses SQL text and builds parse tree suitable for further analysis and operations.
* @param sql SQL text
* @param options Options affecting parsing
* @returns Parsed SQL tree object with the number of possible operations
*/
parse: typeof parse;
};
export default antlr;
//# sourceMappingURL=index.d.ts.map