LexerNoViableAltException

TODO add class description

Constructors

this
this(Lexer lexer, CharStream input, int startIndex, ATNConfigSet deadEndConfigs)
Undocumented in source.

Members

Functions

getDeadEndConfigs
ATNConfigSet getDeadEndConfigs()
Undocumented in source. Be warned that the author may not have intended to support it.
getInputStream
CharStream getInputStream()

@uml @override

getStartIndex
int getStartIndex()
Undocumented in source. Be warned that the author may not have intended to support it.
toString
string toString()

@uml @override

Inherited Members

From RecognitionException

recognizer
InterfaceRecognizer recognizer;

The {@link Recognizer} where this exception originated.

getOffendingState
int getOffendingState()

Get the ATN state number the parser was in at the time the error occurred. For {@link NoViableAltException} and {@link LexerNoViableAltException} exceptions, this is the {@link DecisionState} number. For others, it is the state whose outgoing edge we couldn't match.

setOffendingState
void setOffendingState(int offendingState)
Undocumented in source. Be warned that the author may not have intended to support it.
getExpectedTokens
IntervalSet getExpectedTokens()

Gets the set of input symbols which could potentially follow the previously matched symbol at the time this exception was thrown.

getCtx
RuleContext getCtx()

Gets the {@link RuleContext} at the time this exception was thrown.

getInputStream
IntStream getInputStream()
Undocumented in source. Be warned that the author may not have intended to support it.
getOffendingToken
Token getOffendingToken()
Undocumented in source. Be warned that the author may not have intended to support it.
setOffendingToken
void setOffendingToken(Token offendingToken)
Undocumented in source. Be warned that the author may not have intended to support it.
getRecognizer
InterfaceRecognizer getRecognizer()

Gets the {@link Recognizer} where this exception occurred.

Meta