UNPKG

rawsql-ts

Version:

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

15 lines (14 loc) 543 B
import { Lexeme } from "../models/Lexeme"; import { ValueComponent } from "../models/ValueComponent"; export declare class CommandExpressionParser { static parseFromLexeme(lexemes: Lexeme[], index: number): { value: ValueComponent; newIndex: number; }; private static parseModifierUnaryExpression; private static parseCaseExpression; private static parseCaseWhenExpression; private static parseSwitchCaseArgument; private static isCommandWithValue; private static parseCaseConditionValuePair; }