ParseInfo class
This class provides access to specific and aggregate statistics gathered during profiling of a parser.
@since 4.3
Constructors
- ParseInfo(ProfilingATNSimulator atnSimulator)
Properties
- atnSimulator → ProfilingATNSimulator
-
final
-
decisionInfo
→ List<
DecisionInfo> -
Gets an array of
DecisionInfo
instances containing the profiling information gathered for each decision in the ATN.no setter - dfaSize → int
-
Gets the total number of DFA states stored in the DFA cache for all
decisions in the ATN.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
-
llDecisions
→ List<
int> -
Gets the decision numbers for decisions that required one or more
full-context predictions during parsing. These are decisions for which
{@link DecisionInfo#LL_Fallback} is non-zero.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- totalATNLookaheadOps → int
-
Gets the total number of ATN lookahead operations for SLL and LL
prediction across all decisions made during parsing.
no setter
- totalLLATNLookaheadOps → int
-
Gets the total number of ATN lookahead operations for LL prediction
across all decisions made during parsing.
no setter
- totalLLLookaheadOps → int
-
Gets the total number of LL lookahead operations across all decisions
made during parsing. This value is the sum of
{@link DecisionInfo#LL_TotalLook} for all decisions.
no setter
- totalSLLATNLookaheadOps → int
-
Gets the total number of ATN lookahead operations for SLL prediction
across all decisions made during parsing.
no setter
- totalSLLLookaheadOps → int
-
Gets the total number of SLL lookahead operations across all decisions
made during parsing. This value is the sum of
{@link DecisionInfo#SLL_TotalLook} for all decisions.
no setter
- totalTimeInPrediction → int
-
Gets the total time spent during prediction across all decisions made
during parsing. This value is the sum of
{@link DecisionInfo#timeInPrediction} for all decisions.
no setter
Methods
-
getDFASizeAt(
int decision) → int - Gets the total number of DFA states stored in the DFA cache for a particular decision.
-
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