UNPKG

antlr4ng

Version:

Alternative JavaScript/TypeScript runtime for ANTLR4

10 lines (9 loc) 370 B
/** * This exception is thrown to cancel a parsing operation. This exception does * not extend {@link RecognitionException}, allowing it to bypass the standard * error recovery mechanisms. {@link BailErrorStrategy} throws this exception in * response to a parse error. */ export declare class ParseCancellationException extends Error { constructor(e: Error); }