Skip to content

Commit

Permalink
update DiagnosticErrorListener type
Browse files Browse the repository at this point in the history
  • Loading branch information
Francisco Rodriguez Elorza committed Nov 18, 2024
1 parent 0232d59 commit 9f0b3f7
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions runtime/JavaScript/src/antlr4/error/DiagnosticErrorListener.d.ts
Original file line number Diff line number Diff line change
@@ -1,16 +1,3 @@
import {ATNConfigSet} from "../atn";
import {BitSet} from "../misc/BitSet";
import {DFA} from "../dfa";
import {ErrorListener} from "./ErrorListener";
import {Recognizer} from "../Recognizer";
import {RecognitionException} from "./RecognitionException";

export declare class DiagnosticErrorListener<TSymbol> implements ErrorListener<TSymbol> {
reportAmbiguity(recognizer: Recognizer<TSymbol>, dfa: DFA, startIndex: number, stopIndex: number, exact: boolean, ambigAlts: BitSet, configs: ATNConfigSet): void;

reportAttemptingFullContext(recognizer: Recognizer<TSymbol>, dfa: DFA, startIndex: number, stopIndex: number, conflictingAlts: BitSet, configs: ATNConfigSet): void;

reportContextSensitivity(recognizer: Recognizer<TSymbol>, dfa: DFA, startIndex: number, stopIndex: number, prediction: number, configs: ATNConfigSet): void;

syntaxError(recognizer: Recognizer<TSymbol>, offendingSymbol: TSymbol, line: number, column: number, msg: string, e: RecognitionException | undefined): void;
}
export declare class DiagnosticErrorListener<TSymbol> extends ErrorListener<TSymbol> {}

0 comments on commit 9f0b3f7

Please sign in to comment.