LL1Analyzer.LOOK

Compute set of tokens that can follow {@code s} in the ATN in the specified {@code ctx}.

<p>If {@code ctx} is {@code null} and the end of the rule containing {@code s} is reached, {@link Token#EPSILON} is added to the result set. If {@code ctx} is not {@code null} and the end of the outermost rule is reached, {@link Token#EOF} is added to the result set.</p>

@param s the ATN state @param ctx the complete parser context, or {@code null} if the context should be ignored

@return The set of tokens that can follow {@code s} in the ATN in the specified {@code ctx}.

  1. IntervalSet LOOK(ATNState s, RuleContext ctx)
    class LL1Analyzer
  2. IntervalSet LOOK(ATNState s, ATNState stopState, RuleContext ctx)

Meta