ParserATNSimulator#evalSemanticContext
| Modifier and Type | Field and Description |
|---|---|
| public final boolean | evalResult
The result of evaluating the semantic context |
| public final int | predictedAlt
The alternative number for the decision which is guarded by the semantic
context |
| public final SemanticContext | semctx
The semantic context which was evaluated. |
| Access | Constructor and Description |
|---|---|
| public | PredicateEvalInfo(SimulatorState
The simulator state state, int The decision number decision, TokenStream The input token stream input, int The start index for the current prediction startIndex, int The index at which the predicate evaluation was
triggered. Note that the input stream may be reset to other positions for
the actual evaluation of individual predicates. stopIndex, SemanticContext The semantic context which was evaluated semctx, boolean The results of evaluating the semantic context evalResult, int The alternative number for the decision which is
guarded by the semantic context predictedAlt)semctx. See predictedAlt
for more information.Constructs a new instance of the |
| evalResult | back to summary |
|---|---|
| public final boolean evalResult The result of evaluating the semantic context | |
| predictedAlt | back to summary |
|---|---|
| public final int predictedAlt The alternative number for the decision which is guarded by the semantic
context | |
| semctx | back to summary |
|---|---|
| public final SemanticContext semctx The semantic context which was evaluated. | |
| PredicateEvalInfo | back to summary |
|---|---|
| public PredicateEvalInfo(SimulatorState state, int decision, TokenStream input, int startIndex, int stopIndex, SemanticContext semctx, boolean evalResult, int predictedAlt) Constructs a new instance of the
| |