UNPKG

dt-sql-parser

Version:

SQL Parsers for BigData, built with antlr4

10 lines (9 loc) 403 B
import { DefaultErrorStrategy, Parser, RecognitionException, Token } from 'antlr4ng'; /** * Base on DefaultErrorStrategy. * The difference is that it assigns exception to the context.exception when it encounters error. */ export declare class ErrorStrategy extends DefaultErrorStrategy { recover(recognizer: Parser, e: RecognitionException): void; recoverInline(recognizer: Parser): Token; }