public class DecisionEventInfo
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
ATNConfigSet |
configs
The configuration set containing additional information relevant to the
prediction state when the current event occurred, or
null if no
additional information is relevant or available. |
int |
decision
The invoked decision number which this event is related to.
|
boolean |
fullCtx
true if the current event occurred during LL prediction;
otherwise, false if the input occurred during SLL prediction. |
TokenStream |
input
The input token stream which is being parsed.
|
int |
startIndex
The token index in the input stream at which the current prediction was
originally invoked.
|
int |
stopIndex
The token index in the input stream at which the current event occurred.
|
Constructor and Description |
---|
DecisionEventInfo(int decision,
ATNConfigSet configs,
TokenStream input,
int startIndex,
int stopIndex,
boolean fullCtx) |
public final int decision
ATN.decisionToState
public final ATNConfigSet configs
null
if no
additional information is relevant or available.public final TokenStream input
public final int startIndex
public final int stopIndex
public final boolean fullCtx
true
if the current event occurred during LL prediction;
otherwise, false
if the input occurred during SLL prediction.public DecisionEventInfo(int decision, ATNConfigSet configs, TokenStream input, int startIndex, int stopIndex, boolean fullCtx)