LookaheadEventInfo

This class represents profiling event information for tracking the lookahead depth required in order to make a prediction.

Constructors

this
this(int decision, ATNConfigSet configs, int predictedAlt, TokenStream input, size_t startIndex, size_t stopIndex, bool fullCtx)

Constructs a new instance of the {@link LookaheadEventInfo} class with the specified detailed lookahead information.

Members

Variables

predictedAlt
int predictedAlt;

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.

Inherited Members

From DecisionEventInfo

decision
int decision;

The invoked decision number which this event is related to.

configs
ATNConfigSet configs;

The configuration set containing additional information relevant to the prediction state when the current event occurred, or {@code null} if no additional information is relevant or available.

input
TokenStream input;

The input token stream which is being parsed.

startIndex
size_t startIndex;
Undocumented in source.
stopIndex
size_t stopIndex;
Undocumented in source.
fullCtx
bool fullCtx;

{@code true} if the current event occurred during LL prediction; otherwise, {@code false} if the input occurred during SLL prediction.

Meta