Package org.antlr.v4.runtime.dfa
Class AcceptStateInfo
java.lang.Object
org.antlr.v4.runtime.dfa.AcceptStateInfo
Stores information about a
DFAState which is an accept state under some condition. Certain settings, such as
ParserATNSimulator.getPredictionMode(), may be used in addition to this information to determine whether or
not a particular state is an accept state.-
Constructor Summary
ConstructorsConstructorDescriptionAcceptStateInfo(int prediction) AcceptStateInfo(int prediction, LexerActionExecutor lexerActionExecutor) -
Method Summary
Modifier and TypeMethodDescriptionintIf predicate evaluation is enabled, the final prediction of the accept state will be determined by the result of predicate evaluation.
-
Constructor Details
-
AcceptStateInfo
public AcceptStateInfo(int prediction) -
AcceptStateInfo
-
-
Method Details
-
getPrediction
public int getPrediction()If predicate evaluation is enabled, the final prediction of the accept state will be determined by the result of predicate evaluation. -
getLexerActionExecutor
-