Constructs a new instance of {@link VocabularyImpl} from the specified literal and symbolic token names.
@uml Constructs a new instance of {@link VocabularyImpl} from the specified literal, symbolic, and display token names.
@uml Returns a {@link VocabularyImpl} instance from the specified set of token names. This method acts as a compatibility layer for the single {@code tokenNames} array generated by previous releases of ANTLR.
@uml Returns the highest token type value. It can be used to iterate from zero to that number, inclusively, thus querying all stored entries. @return the highest token type value
@uml Gets the string literal associated with a token type. The string returned by this method, when not {@code null}, can be used unaltered in a parser grammar to represent this token type.
@uml Gets the symbolic name associated with a token type. The string returned by this method, when not {@code null}, can be used unaltered in a parser grammar to represent this token type.
@uml Gets the display name of a token type.
This class provides a default implementation of the {@link Vocabulary} interface.