/*! * Copyright 2016 The ANTLR Project. All rights reserved. * Licensed under the BSD-3-Clause license. See LICENSE file in the project root for license information. */ import { ANTLRErrorListener } from "./ANTLRErrorListener"; import { RecognitionException } from "./RecognitionException"; import { Recognizer } from "./Recognizer"; /** * * @author Sam Harwell */ export declare class ConsoleErrorListener implements ANTLRErrorListener { /** * Provides a default instance of {@link ConsoleErrorListener}. */ static readonly INSTANCE: ConsoleErrorListener; /** * {@inheritDoc} * * This implementation prints messages to {@link System#err} containing the * values of `line`, `charPositionInLine`, and `msg` using * the following format. * *
     * line *line*:*charPositionInLine* *msg*
     * 
*/ syntaxError(recognizer: Recognizer, offendingSymbol: T, line: number, charPositionInLine: number, msg: string, e: RecognitionException | undefined): void; }