/*! * Copyright 2016 Terence Parr, Sam Harwell, and Burt Harris * All rights reserved. * Licensed under the BSD-3-clause license. See LICENSE file in the project root for license information. */ /** * Provides an empty default implementation of {@link ANTLRErrorListener}. The * default implementation of each method does nothing, but can be overridden as * necessary. * * @author Sam Harwell */ import { ATNConfigSet } from './atn/ATNConfigSet'; import { BitSet } from './misc/BitSet'; import { DFA } from './dfa/DFA'; import { RecognitionException } from "./RecognitionException"; import { Token } from "./Token"; import { Parser } from './Parser'; import { ParserErrorListener } from "./ParserErrorListener"; import { Recognizer } from './Recognizer'; import { SimulatorState } from './atn/SimulatorState'; export declare class BaseErrorListener implements ParserErrorListener { syntaxError(recognizer: Recognizer, offendingSymbol: T | undefined, line: number, charPositionInLine: number, msg: string, e: RecognitionException | undefined): void; reportAmbiguity(recognizer: Parser, dfa: DFA, startIndex: number, stopIndex: number, exact: boolean, ambigAlts: BitSet | undefined, configs: ATNConfigSet): void; reportAttemptingFullContext(recognizer: Parser, dfa: DFA, startIndex: number, stopIndex: number, conflictingAlts: BitSet | undefined, conflictState: SimulatorState): void; reportContextSensitivity(recognizer: Parser, dfa: DFA, startIndex: number, stopIndex: number, prediction: number, acceptState: SimulatorState): void; }