protected ATNConfig RuleTransition(ATNConfig config, RuleTransition t)
{
if (debug)
{
Console.WriteLine("CALL rule " + GetRuleName(t.target.ruleIndex) +
", ctx=" + config.context);
}
ATNState returnState = t.followState;
PredictionContext newContext =
SingletonPredictionContext.Create(config.context, returnState.stateNumber);
return new ATNConfig(config, t.target, newContext);
}