@SuppressWarnings("deprecation")
	public Vocabulary getVocabulary() {
		return VocabularyImpl.fromTokenNames(getTokenNames());
	}
Get the vocabulary used by the recognizer.

@return A {@link Vocabulary} instance providing information about the
vocabulary used by the grammar.
runtime/Java/src/org/antlr/v4/runtime/Recognizer.java