| Modifier and Type | Field and Description |
|---|---|
| protected final DFA[] | |
| protected final PredictionContextCache | |
| protected final ATN | |
| protected final String[] | |
| protected final String | |
| protected final String[] | |
| protected final String[] | |
| protected final String[] | tokenNames
Deprecated
|
| private final Vocabulary |
| Access | Constructor and Description |
|---|---|
| public | LexerInterpreter(String grammarFileName, Collection<String> tokenNames, Collection<String> ruleNames, Collection<String> modeNames, ATN atn, CharStream input)
Deprecated
|
| public | LexerInterpreter(String grammarFileName, Vocabulary vocabulary, Collection<String> ruleNames, Collection<String> modeNames, ATN atn, CharStream input)
Deprecated
|
| public | LexerInterpreter(String grammarFileName, Vocabulary vocabulary, Collection<String> ruleNames, Collection<String> channelNames, Collection<String> modeNames, ATN atn, CharStream input)
|
| Modifier and Type | Method and Description |
|---|---|
| public ATN | getATN()
Implements abstract org. ATN used by the recognizer for prediction.
|
| public String[] | |
| public String | getGrammarFileName()
Implements abstract org. |
| public String[] | |
| public String[] | |
| public String[] | getTokenNames()
Overrides org.
Deprecated
Used to print out token names like ID during debugging and
error reporting.
|
| public Vocabulary | getVocabulary()
Get the vocabulary used by the recognizer.
|
| _decisionToDFA | back to summary |
|---|---|
| protected final DFA[] _decisionToDFA | |
| _sharedContextCache | back to summary |
|---|---|
| protected final PredictionContextCache _sharedContextCache | |
| atn | back to summary |
|---|---|
| protected final ATN atn | |
| channelNames | back to summary |
|---|---|
| protected final String[] channelNames | |
| grammarFileName | back to summary |
|---|---|
| protected final String grammarFileName | |
| modeNames | back to summary |
|---|---|
| protected final String[] modeNames | |
| ruleNames | back to summary |
|---|---|
| protected final String[] ruleNames | |
| tokenNames | back to summary |
|---|---|
| protected final String[] tokenNames
Deprecated
| |
| vocabulary | back to summary |
|---|---|
| private final Vocabulary vocabulary | |
| LexerInterpreter | back to summary |
|---|---|
| public LexerInterpreter(String grammarFileName, Collection<String> tokenNames, Collection<String> ruleNames, Collection<String> modeNames, ATN atn, CharStream input)
Deprecated
| |
| LexerInterpreter | back to summary |
|---|---|
| public LexerInterpreter(String grammarFileName, Vocabulary vocabulary, Collection<String> ruleNames, Collection<String> modeNames, ATN atn, CharStream input)
Deprecated
| |
| LexerInterpreter | back to summary |
|---|---|
| public LexerInterpreter(String grammarFileName, Vocabulary vocabulary, Collection<String> ruleNames, Collection<String> channelNames, Collection<String> modeNames, ATN atn, CharStream input) | |
| getATN | back to summary |
|---|---|
| public ATN getATN() Implements abstract org. Doc from org. Get the | |
| getChannelNames | back to summary |
|---|---|
| public String[] getChannelNames() Overrides org.
| |
| getGrammarFileName | back to summary |
|---|---|
| public String getGrammarFileName() Implements abstract org. Doc from org. For debugging and other purposes, might want the grammar name. Have ANTLR generate an implementation for this method.
| |
| getModeNames | back to summary |
|---|---|
| public String[] getModeNames() Overrides org.
| |
| getRuleNames | back to summary |
|---|---|
| public String[] getRuleNames() Implements abstract org.
| |
| getTokenNames | back to summary |
|---|---|
| public String[] getTokenNames() Overrides org. Doc from org. Deprecated
Used to print out token names like ID during debugging and error reporting. The generated parsers implement a method that overrides this to point to their String[] tokenNames.
| |
| getVocabulary | back to summary |
|---|---|
| public Vocabulary getVocabulary() Overrides org. Doc from org. Get the vocabulary used by the recognizer.
| |