public class LexerNoViableAltException extends RecognitionException
| 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() |
String |
toString() |
getCtx, getExpectedTokens, getOffendingState, getOffendingToken, getRecognizer, setOffendingState, setOffendingTokenaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic LexerNoViableAltException(@Nullable Lexer lexer, @NotNull CharStream input, int startIndex, @Nullable ATNConfigSet deadEndConfigs)
public int getStartIndex()
@Nullable public ATNConfigSet getDeadEndConfigs()
public CharStream getInputStream()
RecognitionExceptionnull.getInputStream in class RecognitionExceptionnull if the stream is not
available.Copyright © 1992-2013 ANTLR. All Rights Reserved.