PredicateEvalInfo class
This class represents profiling event information for semantic predicate evaluations which occur during prediction.
@see ParserATNSimulator#evalSemanticContext
@since 4.3
- Inheritance
-
- Object
- DecisionEventInfo
- PredicateEvalInfo
Constructors
- PredicateEvalInfo(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.
Properties
- configs → ATNConfigSet?
-
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.
finalinherited
- decision → int
-
The invoked decision number which this event is related to.
finalinherited
- evalResult → bool
-
The result of evaluating the semantic context {@link #semctx}.
final
- fullCtx → bool
-
true
if the current event occurred during LL prediction; otherwise,false
if the input occurred during SLL prediction.finalinherited - hashCode → int
-
The hash code for this object.
no setterinherited
- input → TokenStream
-
The input token stream which is being parsed.
finalinherited
- predictedAlt → int
-
The alternative number for the decision which is guarded by the semantic
context {@link #semctx}. Note that other ATN
configurations may predict the same alternative which are guarded by
other semantic contexts and/or {@link SemanticContext#NONE}.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- semctx → SemanticContext
-
The semantic context which was evaluated.
final
- startIndex → int
-
The token index in the input stream at which the current prediction was
originally invoked.
finalinherited
- stopIndex → int
-
The token index in the input stream at which the current event occurred.
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited