| Modifier and Type | Field and Description |
|---|---|
| public final int | predictedAlt
The alternative chosen by adaptivePredict(), not necessarily the outermost alt shown for a rule; left-recursive rules have user-level alts that differ from the rewritten rule with a (...) block and a (..)* loop. |
| Access | Constructor and Description |
|---|---|
| public | LookaheadEventInfo(int
The decision number decision, SimulatorState The final simulator state containing the necessary
information to determine the result of a prediction, or state, int predictedAlt, TokenStream null if
the final state is not availableThe input token stream input, int The start index for the current prediction startIndex, int The index at which the prediction was finally made stopIndex, boolean true if the current lookahead is part of an LL
prediction; otherwise, false if the current lookahead is part of
an SLL predictionConstructs a new instance of the |
| predictedAlt | back to summary |
|---|---|
| public final int predictedAlt The alternative chosen by adaptivePredict(), not necessarily the outermost alt shown for a rule; left-recursive rules have user-level alts that differ from the rewritten rule with a (...) block and a (..)* loop. | |
| LookaheadEventInfo | back to summary |
|---|---|
| public LookaheadEventInfo(int decision, SimulatorState state, int predictedAlt, TokenStream input, int startIndex, int stopIndex, boolean fullCtx) Constructs a new instance of the
| |