From 9f0b3f79f0e24cebc27b25330b46158ea5a99785 Mon Sep 17 00:00:00 2001 From: Francisco Rodriguez Elorza Date: Mon, 18 Nov 2024 11:36:48 -0800 Subject: [PATCH] update DiagnosticErrorListener type --- .../src/antlr4/error/DiagnosticErrorListener.d.ts | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/runtime/JavaScript/src/antlr4/error/DiagnosticErrorListener.d.ts b/runtime/JavaScript/src/antlr4/error/DiagnosticErrorListener.d.ts index 2e27858687..4b7d381ba3 100644 --- a/runtime/JavaScript/src/antlr4/error/DiagnosticErrorListener.d.ts +++ b/runtime/JavaScript/src/antlr4/error/DiagnosticErrorListener.d.ts @@ -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 implements ErrorListener { - reportAmbiguity(recognizer: Recognizer, dfa: DFA, startIndex: number, stopIndex: number, exact: boolean, ambigAlts: BitSet, configs: ATNConfigSet): void; - - reportAttemptingFullContext(recognizer: Recognizer, dfa: DFA, startIndex: number, stopIndex: number, conflictingAlts: BitSet, configs: ATNConfigSet): void; - - reportContextSensitivity(recognizer: Recognizer, dfa: DFA, startIndex: number, stopIndex: number, prediction: number, configs: ATNConfigSet): void; - - syntaxError(recognizer: Recognizer, offendingSymbol: TSymbol, line: number, column: number, msg: string, e: RecognitionException | undefined): void; -} +export declare class DiagnosticErrorListener extends ErrorListener {}