UNPKG

694 BTypeScriptView Raw
1/*!
2 * Copyright 2016 The ANTLR Project. All rights reserved.
3 * Licensed under the BSD-3-Clause license. See LICENSE file in the project root for license information.
4 */
5import { RecognitionException } from "./RecognitionException";
6import { Parser } from "./Parser";
7import { ParserRuleContext } from "./ParserRuleContext";
8/** This signifies any kind of mismatched input exceptions such as
9 * when the current input does not match the expected token.
10 */
11export declare class InputMismatchException extends RecognitionException {
12 constructor(/*@NotNull*/ recognizer: Parser);
13 constructor(/*@NotNull*/ recognizer: Parser, state: number, context: ParserRuleContext);
14}