Class PredicateEvalInfo

java.lang.Object
org.antlr.v4.runtime.atn.DecisionEventInfo
org.antlr.v4.runtime.atn.PredicateEvalInfo

public class PredicateEvalInfo extends DecisionEventInfo
This class represents profiling event information for semantic predicate evaluations which occur during prediction.
Since:
4.3
See Also:
  • Field Details

    • semctx

      public final SemanticContext semctx
      The semantic context which was evaluated.
    • predictedAlt

      public final int predictedAlt
      The alternative number for the decision which is guarded by the semantic context semctx. Note that other ATN configurations may predict the same alternative which are guarded by other semantic contexts and/or SemanticContext.NONE.
    • evalResult

      public final boolean evalResult
      The result of evaluating the semantic context semctx.
  • Constructor Details