public class LexerNoViableAltException extends RecognitionException
| Modifier and Type | Field and Description |
|---|---|
private ATNConfigSet |
deadEndConfigs
Which configurations did we try at input.index() that couldn't match input.LA(1)?
|
private int |
startIndex
Matching attempted at what input index?
|
| Constructor and Description |
|---|
LexerNoViableAltException(Lexer lexer,
CharStream input,
int startIndex,
ATNConfigSet deadEndConfigs) |
| Modifier and Type | Method and Description |
|---|---|
ATNConfigSet |
getDeadEndConfigs() |
CharStream |
getInputStream()
Gets the input stream which is the symbol source for the recognizer where
this exception was thrown.
|
int |
getStartIndex() |
java.lang.String |
toString() |
getCtx, getExpectedTokens, getOffendingState, getOffendingToken, getRecognizer, setOffendingState, setOffendingTokenprivate final int startIndex
private final ATNConfigSet deadEndConfigs
public LexerNoViableAltException(Lexer lexer, CharStream input, int startIndex, ATNConfigSet deadEndConfigs)
public int getStartIndex()
public ATNConfigSet getDeadEndConfigs()
public CharStream getInputStream()
RecognitionExceptionIf the input stream is not available, this method returns null.
getInputStream in class RecognitionExceptionnull if the stream is not
available.public java.lang.String toString()
toString in class java.lang.Throwable