UNPKG

rawsql-ts

Version:

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

16 lines (15 loc) 534 B
import { UpdateClause } from "../models/Clause"; import { Lexeme } from "../models/Lexeme"; /** * Parses the target of an UPDATE statement (table or source expression with optional alias). */ export declare class UpdateClauseParser { /** * Parse from lexeme array (returns UpdateClause and new index) * This method parses a table or a table with alias using SourceExpressionParser. */ static parseFromLexeme(lexemes: Lexeme[], index: number): { value: UpdateClause; newIndex: number; }; }