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