Example usage for Java org.antlr.v4.runtime.atn ATN fields, constructors, methods, implement or subclass
The text is from its open source code.
IntervalSet | nextTokens(ATNState s, RuleContext ctx) Compute the set of valid tokens that can occur starting in state s . |
IntervalSet | nextTokens(ATNState s) Compute the set of valid tokens that can occur starting in s and staying in same rule. |