EMPTY_VOCABULARY property

VocabularyImpl EMPTY_VOCABULARY
final

Gets an empty Vocabulary instance.

No literal or symbol names are assigned to token types, so {@link #getDisplayName(int)} returns the numeric value for all tokens except {@link Token#EOF}.

Implementation

static final VocabularyImpl EMPTY_VOCABULARY =
    VocabularyImpl(EMPTY_NAMES, EMPTY_NAMES, EMPTY_NAMES);