Package org.antlr.v4.runtime.atn
Class PredictionContextCache.IdentityCommutativePredictionContextOperands
java.lang.Object
org.antlr.v4.runtime.atn.PredictionContextCache.JoinKey
org.antlr.v4.runtime.atn.PredictionContextCache.IdentityCommutativePredictionContextOperands
- Enclosing class:
- PredictionContextCache
protected static final class PredictionContextCache.IdentityCommutativePredictionContextOperands
extends PredictionContextCache.JoinKey
Immutable identity-based commutative key for a pair of
PredictionContext instances. Used as map entries in
PredictionContextCache.joinContexts and as visited-set elements in
ArrayPredictionContext.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptiongetX()getY()(package private) PredictionContextleft()(package private) PredictionContextright()Methods inherited from class org.antlr.v4.runtime.atn.PredictionContextCache.JoinKey
equals, hashCode
-
Field Details
-
x
-
y
-
-
Constructor Details
-
IdentityCommutativePredictionContextOperands
-
-
Method Details
-
getX
-
getY
-
left
PredictionContext left()- Specified by:
leftin classPredictionContextCache.JoinKey
-
right
PredictionContext right()- Specified by:
rightin classPredictionContextCache.JoinKey
-