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