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) 370 B
import { DropTableStatement } from "../models/DDLStatements"; import { Lexeme } from "../models/Lexeme"; /** * Parses DROP TABLE statements. */ export declare class DropTableParser { static parse(sql: string): DropTableStatement; static parseFromLexeme(lexemes: Lexeme[], index: number): { value: DropTableStatement; newIndex: number; }; }