/** * Gets the set of input symbols which could potentially follow the * previously matched symbol at the time this exception was thrown. * * <p>If the set of expected tokens is not known and could not be computed, * this method returns {@code null}.</p> * * @return The set of token types that could potentially follow the current * state in the ATN, or {@code null} if the information is not available. */ public IntervalSet getExpectedTokens() { if (recognizer != null) { return recognizer.getATN().getExpectedTokens(offendingState, ctx); } return null; }
/** * 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) */ public IntervalSet getExpectedTokens() { return getATN().getExpectedTokens(getState(), getContext()); }
/** * Gets the set of input symbols which could potentially follow the * previously matched symbol at the time this exception was thrown. * * <p>If the set of expected tokens is not known and could not be computed, * this method returns {@code null}.</p> * * @return The set of token types that could potentially follow the current * state in the ATN, or {@code null} if the information is not available. */ public IntervalSet getExpectedTokens() { if (recognizer != null) { return recognizer.getATN().getExpectedTokens(offendingState, ctx); } return null; }
/** * Gets the set of input symbols which could potentially follow the * previously matched symbol at the time this exception was thrown. * * <p>If the set of expected tokens is not known and could not be computed, * this method returns {@code null}.</p> * * @return The set of token types that could potentially follow the current * state in the ATN, or {@code null} if the information is not available. */ public IntervalSet getExpectedTokens() { if (recognizer != null) { return recognizer.getATN().getExpectedTokens(offendingState, ctx); } return null; }
/** * Gets the set of input symbols which could potentially follow the * previously matched symbol at the time this exception was thrown. * * <p>If the set of expected tokens is not known and could not be computed, * this method returns {@code null}.</p> * * @return The set of token types that could potentially follow the current * state in the ATN, or {@code null} if the information is not available. */ public IntervalSet getExpectedTokens() { if (recognizer != null) { return recognizer.getATN().getExpectedTokens(offendingState, ctx); } return null; }
/** * Gets the set of input symbols which could potentially follow the * previously matched symbol at the time this exception was thrown. * * <p>If the set of expected tokens is not known and could not be computed, * this method returns {@code null}.</p> * * @return The set of token types that could potentially follow the current * state in the ATN, or {@code null} if the information is not available. */ @Nullable public IntervalSet getExpectedTokens() { if (recognizer != null) { return recognizer.getATN().getExpectedTokens(offendingState, ctx); } return null; }
/** * 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) */ public IntervalSet getExpectedTokens() { return getATN().getExpectedTokens(getState(), getContext()); }
/** * 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) */ public IntervalSet getExpectedTokens() { return getATN().getExpectedTokens(getState(), getContext()); }
/** * 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) */ public IntervalSet getExpectedTokens() { return getATN().getExpectedTokens(getState(), getContext()); }
/** * 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) */ @NotNull public IntervalSet getExpectedTokens() { return getATN().getExpectedTokens(getState(), getContext()); }