ATN.nextTokens

Compute the set of valid tokens that can occur starting in {@code s} and staying in same rule. {@link Token#EPSILON} is in set if we reach end of rule.

  1. IntervalSet nextTokens(ATNState s, RuleContext ctx)
  2. IntervalSet nextTokens(ATNState s)
    class ATN

Meta