| Package | Description |
|---|---|
| org.antlr.v4.runtime | |
| org.antlr.v4.runtime.dfa | |
| org.antlr.v4.runtime.misc | |
| org.antlr.v4.runtime.tree.xpath |
| Modifier and Type | Class and Description |
|---|---|
class |
VocabularyImpl
This class provides a default implementation of the
Vocabulary
interface. |
| Modifier and Type | Method and Description |
|---|---|
static Vocabulary |
VocabularyImpl.fromTokenNames(String[] tokenNames)
Returns a
VocabularyImpl instance from the specified set of token
names. |
Vocabulary |
Recognizer.getVocabulary()
Get the vocabulary used by the recognizer.
|
Vocabulary |
ParserInterpreter.getVocabulary() |
Vocabulary |
LexerInterpreter.getVocabulary() |
| Constructor and Description |
|---|
LexerInterpreter(String grammarFileName,
Vocabulary vocabulary,
Collection<String> ruleNames,
Collection<String> modeNames,
ATN atn,
CharStream input)
Deprecated.
|
LexerInterpreter(String grammarFileName,
Vocabulary vocabulary,
Collection<String> ruleNames,
Collection<String> channelNames,
Collection<String> modeNames,
ATN atn,
CharStream input) |
ParserInterpreter(String grammarFileName,
Vocabulary vocabulary,
Collection<String> ruleNames,
ATN atn,
TokenStream input) |
| Modifier and Type | Method and Description |
|---|---|
String |
DFA.toString(Vocabulary vocabulary) |
String |
DFA.toString(Vocabulary vocabulary,
String[] ruleNames) |
| Constructor and Description |
|---|
DFASerializer(DFA dfa,
Vocabulary vocabulary) |
DFASerializer(DFA dfa,
Vocabulary vocabulary,
String[] ruleNames,
ATN atn) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
IntervalSet.elementName(Vocabulary vocabulary,
int a) |
String |
IntervalSet.toString(Vocabulary vocabulary) |
| Modifier and Type | Field and Description |
|---|---|
static Vocabulary |
XPathLexer.VOCABULARY |
| Modifier and Type | Method and Description |
|---|---|
Vocabulary |
XPathLexer.getVocabulary() |
Copyright © 1992–2024 Daniel Sun. All rights reserved.