| Modifier and Type | Field and Description |
|---|---|
| private static final String[] | |
| private static final String[] | |
| public static final int | |
| public static final int | |
| protected int | |
| public static final int | |
| protected int | |
| public static final String[] | |
| public static final int | |
| public static final int | |
| public static final String[] | |
| public static final int | |
| public static final int | |
| public static final String[] | tokenNames
Deprecated
Use
VOCABULARY instead.
|
| public static final Vocabulary | |
| public static final int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public ATN | getATN()
Implements abstract org. ATN used by the recognizer for prediction.
|
| public int | getCharPositionInLine()
Overrides org. Implements org. |
| 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.
|
| public boolean | |
| public boolean | |
| public String | |
| public String | |
| public Token | nextToken()
Overrides org. Implements org. |
| _LITERAL_NAMES | back to summary |
|---|---|
| private static final String[] _LITERAL_NAMES | |
| _SYMBOLIC_NAMES | back to summary |
|---|---|
| private static final String[] _SYMBOLIC_NAMES | |
| ANYWHERE | back to summary |
|---|---|
| public static final int ANYWHERE | |
| BANG | back to summary |
|---|---|
| public static final int BANG | |
| charPositionInLine | back to summary |
|---|---|
| protected int charPositionInLine | |
| ID | back to summary |
|---|---|
| public static final int ID | |
| line | back to summary |
|---|---|
| protected int line | |
| modeNames | back to summary |
|---|---|
| public static final String[] modeNames | |
| ROOT | back to summary |
|---|---|
| public static final int ROOT | |
| RULE_REF | back to summary |
|---|---|
| public static final int RULE_REF | |
| ruleNames | back to summary |
|---|---|
| public static final String[] ruleNames | |
| STRING | back to summary |
|---|---|
| public static final int STRING | |
| TOKEN_REF | back to summary |
|---|---|
| public static final int TOKEN_REF | |
| tokenNames | back to summary |
|---|---|
| public static final String[] tokenNames
Deprecated Use | |
| VOCABULARY | back to summary |
|---|---|
| public static final Vocabulary VOCABULARY | |
| WILDCARD | back to summary |
|---|---|
| public static final int WILDCARD | |
| XPathLexer | back to summary |
|---|---|
| public XPathLexer(CharStream input) | |
| consume | back to summary |
|---|---|
| public void consume() | |
| getATN | back to summary |
|---|---|
| public ATN getATN() Implements abstract org. Doc from org. Get the | |
| getCharPositionInLine | back to summary |
|---|---|
| public int getCharPositionInLine() Overrides org. Implements org. Doc from org. Get the index into the current line for the current position in the input stream. The first character on a line has position 0.
| |
| 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.
| |
| isNameChar | back to summary |
|---|---|
| public boolean isNameChar(int c) | |
| isNameStartChar | back to summary |
|---|---|
| public boolean isNameStartChar(int c) | |
| matchID | back to summary |
|---|---|
| public String matchID() | |
| matchString | back to summary |
|---|---|
| public String matchString() | |
| nextToken | back to summary |
|---|---|
| public Token nextToken() Overrides org. Implements org. Doc from org. Return a token from this source; i.e., match a token on the char stream.
| |