Checks if all configurations in {@code configs} are in a {@link RuleStopState}. Configurations meeting this condition have reached the end of the decision rule (local context) or end of start rule (full context).
Determines if every alternative subset in {@code altsets} contains more than one alternative.
Determines if every alternative subset in {@code altsets} is equivalent.
Gets the complete set of represented alternatives for a collection of alternative subsets. This method returns the union of each {@link BitSet} in {@code altsets}.
This function gets the conflicting alt subsets from a configuration set. For each configuration {@code c} in {@code configs}:
Get a map from state to alt subset from a configuration set. For each configuration {@code c} in {@code configs}:
Returns the unique alternative predicted by all alternative subsets in {@code altsets}. If no such alternative exists, this method returns {@link ATN#INVALID_ALT_NUMBER}.
Checks if any configuration in {@code configs} is in a {@link RuleStopState}. Configurations meeting this condition have reached the end of the decision rule (local context) or end of start rule (full context).
Determines if any single alternative subset in {@code altsets} contains more than one alternative.
Determines if any single alternative subset in {@code altsets} contains exactly one alternative.
Computes the SLL prediction termination condition.
Full LL prediction termination.
This enumeration defines the prediction modes available in ANTLR 4 along with utility methods for analyzing configuration sets for conflicts and/or ambiguities.