UNPKG

@browsery/antlr4

Version:

Browser compatible antlr4 module

13 lines (9 loc) 326 B
import {ErrorListener} from "./error/index.js"; export declare class Recognizer<TSymbol> { state: number; removeErrorListeners(): void; addErrorListener(listener: ErrorListener<TSymbol>): void; getErrorListener(): ErrorListener<TSymbol>; getLiteralNames(): string[]; getSymbolicNames(): string[]; }