Package org.antlr.v4.runtime.atn
Class PredictionContextCache.PredictionContextAndInt
java.lang.Object
org.antlr.v4.runtime.atn.PredictionContextCache.ChildKey
org.antlr.v4.runtime.atn.PredictionContextCache.PredictionContextAndInt
- Enclosing class:
- PredictionContextCache
protected static final class PredictionContextCache.PredictionContextAndInt
extends PredictionContextCache.ChildKey
Immutable map key for (
PredictionContext, int) stored in
PredictionContextCache.childContexts. Fields are final so entries cannot be mutated
after insertion.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) PredictionContextcontext()(package private) intMethods inherited from class org.antlr.v4.runtime.atn.PredictionContextCache.ChildKey
equals, hashCode
-
Field Details
-
obj
-
value
private final int value
-
-
Constructor Details
-
PredictionContextAndInt
-
-
Method Details
-
context
PredictionContext context()- Specified by:
contextin classPredictionContextCache.ChildKey
-
invokingState
int invokingState()- Specified by:
invokingStatein classPredictionContextCache.ChildKey
-