EmptyPredictionContext class

Inheritance

Constructors

EmptyPredictionContext()

Properties

cachedHashCode int
Stores the computed hash code of this PredictionContext. The hash code is computed in parts to match the following reference algorithm.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
id int
getter/setter pairinherited
isEmpty bool
This means only the {@link #EMPTY} (wildcard? not sure) context is in set.
no setteroverride
length int
no setteroverride
parent PredictionContext?
finalinherited
returnState int
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getParent(int index) PredictionContext?
override
getReturnState(int index) int
override
hasEmptyPath() bool
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override
toStrings(Recognizer<ATNSimulator>? recognizer, PredictionContext stop, int currentState) List<String>
inherited

Operators

operator ==(Object o) bool
The equality operator.
inherited

Static Properties

Instance EmptyPredictionContext
Represents {@code $} in local context prediction, which means wildcard. {@code *+x = *}.
final