PredicateEvalInfo constructor
- int decision,
- TokenStream input,
- int startIndex,
- int stopIndex,
- SemanticContext semctx,
- bool evalResult,
- int predictedAlt,
- bool fullCtx,
Constructs a new instance of the PredicateEvalInfo class with the specified detailed predicate evaluation information.
@param decision The decision number
@param input The input token stream
@param startIndex The start index for the current prediction
@param stopIndex 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.
@param semctx The semantic context which was evaluated
@param evalResult The results of evaluating the semantic context
@param predictedAlt The alternative number for the decision which is
guarded by the semantic context semctx. See {@link #predictedAlt}
for more information.
@param fullCtx true
if the semantic context was
evaluated during LL prediction; otherwise, false
if the semantic
context was evaluated during SLL prediction
@see ParserATNSimulator#evalSemanticContext(SemanticContext, ParserRuleContext, int, boolean) @see SemanticContext#eval(Recognizer, RuleContext)
Implementation
PredicateEvalInfo(
int decision,
TokenStream input,
int startIndex,
int stopIndex,
this.semctx,
this.evalResult,
this.predictedAlt,
bool fullCtx)
: super(decision, ATNConfigSet(), input, startIndex, stopIndex, fullCtx);