FailedPredicateException

TODO add class description

Constructors

this
this(Parser recognizer)
Undocumented in source.
this
this(Parser recognizer, string predicate)
Undocumented in source.
this
this(Parser recognizer, string predicate, string message)
Undocumented in source.

Members

Functions

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

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