UNPKG

rawsql-ts

Version:

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

11 lines (10 loc) 310 B
import { KeywordMatchResult } from "../parsers/KeywordParser"; export declare class KeywordTrie { private readonly root; private currentNode; constructor(keywords: string[][]); private createNode; private addKeyword; reset(): void; pushLexeme(lexeme: string): KeywordMatchResult; }