expectedTokens property

IntervalSet expectedTokens

Computes the set of input symbols which could follow the current parser state and context, as given by {@link #getState} and {@link #getContext}, respectively.

@see ATN#getExpectedTokens(int, RuleContext)

Implementation

IntervalSet get expectedTokens {
  return getATN().getExpectedTokens(state, context);
}