Constructs a new instance of {@link VocabularyImpl} from the specified
literal and symbolic token names.
@param literalNames The literal names assigned to tokens, or {@code null}
if no literal names are assigned.
@param symbolicNames The symbolic names assigned to tokens, or
{@code null} if no symbolic names are assigned.
Constructs a new instance of {@link VocabularyImpl} from the specified literal and symbolic token names.
@param literalNames The literal names assigned to tokens, or {@code null} if no literal names are assigned. @param symbolicNames The symbolic names assigned to tokens, or {@code null} if no symbolic names are assigned.
@see #getLiteralName(int) @see #getSymbolicName(int)