UNPKG

rawsql-ts

Version:

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

13 lines (12 loc) 461 B
import { Lexeme } from "../models/Lexeme"; import { WindowFrameExpression } from "../models/ValueComponent"; export declare class WindowExpressionParser { static parse(query: string): WindowFrameExpression; static parseFromLexeme(lexemes: Lexeme[], index: number): { value: WindowFrameExpression; newIndex: number; }; private static isFrameTypeKeyword; private static parseFrameSpec; private static parseFrameBoundary; }