SingletonPredictionContext constructor
SingletonPredictionContext(
- PredictionContext? parent,
- int returnState
Implementation
SingletonPredictionContext(this.parent, this.returnState)
: super(parent != null
? PredictionContext.calculateHashCode([parent], [returnState])
: PredictionContext.calculateEmptyHashCode()) {
assert(returnState != ATNState.INVALID_STATE_NUMBER);
}