UNPKG

923 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 { ATNConfigSet } from "./atn/ATNConfigSet";
6import { RecognitionException } from "./RecognitionException";
7import { Lexer } from "./Lexer";
8import { CharStream } from "./CharStream";
9export declare class LexerNoViableAltException extends RecognitionException {
10 /** Matching attempted at what input index? */
11 private _startIndex;
12 /** Which configurations did we try at input.index that couldn't match input.LA(1)? */
13 private _deadEndConfigs?;
14 constructor(lexer: Lexer | undefined, input: CharStream, startIndex: number, deadEndConfigs: ATNConfigSet | undefined);
15 get startIndex(): number;
16 get deadEndConfigs(): ATNConfigSet | undefined;
17 get inputStream(): CharStream;
18 toString(): string;
19}