public class XPathLexer extends Lexer
| Modifier and Type | Field and Description |
|---|---|
static ATN |
_ATN |
protected static DFA[] |
_decisionToDFA |
private static java.lang.String[] |
_LITERAL_NAMES |
static java.lang.String |
_serializedATN |
protected static PredictionContextCache |
_sharedContextCache |
private static java.lang.String[] |
_SYMBOLIC_NAMES |
static int |
ANYWHERE |
static int |
BANG |
static int |
ID |
static java.lang.String[] |
modeNames |
static int |
ROOT |
static int |
RULE_REF |
static java.lang.String[] |
ruleNames |
static int |
STRING |
static int |
TOKEN_REF |
static java.lang.String[] |
tokenNames
Deprecated.
Use
VOCABULARY instead. |
static Vocabulary |
VOCABULARY |
static int |
WILDCARD |
_channel, _factory, _hitEOF, _input, _mode, _modeStack, _text, _token, _tokenFactorySourcePair, _tokenStartCharIndex, _tokenStartCharPositionInLine, _tokenStartLine, _type, DEFAULT_MODE, DEFAULT_TOKEN_CHANNEL, HIDDEN, MAX_CHAR_VALUE, MIN_CHAR_VALUE, MORE, SKIP_interp, EOF| Constructor and Description |
|---|
XPathLexer(CharStream input) |
| Modifier and Type | Method and Description |
|---|---|
void |
action(RuleContext _localctx,
int ruleIndex,
int actionIndex) |
ATN |
getATN()
Get the
ATN used by the recognizer for prediction. |
java.lang.String |
getGrammarFileName()
For debugging and other purposes, might want the grammar name.
|
java.lang.String[] |
getModeNames() |
java.lang.String[] |
getRuleNames() |
java.lang.String |
getSerializedATN()
If this recognizer was generated, it will have a serialized ATN
representation of the grammar.
|
java.lang.String[] |
getTokenNames()
Deprecated.
|
Vocabulary |
getVocabulary()
Get the vocabulary used by the recognizer.
|
private void |
ID_action(RuleContext _localctx,
int actionIndex) |
emit, emit, emitEOF, getAllTokens, getChannel, getCharErrorDisplay, getCharIndex, getCharPositionInLine, getErrorDisplay, getErrorDisplay, getInputStream, getLine, getSourceName, getText, getToken, getTokenFactory, getType, mode, more, nextToken, notifyListeners, popMode, pushMode, recover, recover, reset, setChannel, setCharPositionInLine, setInputStream, setLine, setText, setToken, setTokenFactory, setType, skipaddErrorListener, getErrorHeader, getErrorListenerDispatch, getErrorListeners, getInterpreter, getParseInfo, getRuleIndexMap, getState, getTokenErrorDisplay, getTokenType, getTokenTypeMap, precpred, removeErrorListener, removeErrorListeners, sempred, setInterpreter, setStateprotected static final DFA[] _decisionToDFA
protected static final PredictionContextCache _sharedContextCache
public static final int TOKEN_REF
public static final int RULE_REF
public static final int ANYWHERE
public static final int ROOT
public static final int WILDCARD
public static final int BANG
public static final int ID
public static final int STRING
public static java.lang.String[] modeNames
public static final java.lang.String[] ruleNames
private static final java.lang.String[] _LITERAL_NAMES
private static final java.lang.String[] _SYMBOLIC_NAMES
public static final Vocabulary VOCABULARY
@Deprecated public static final java.lang.String[] tokenNames
VOCABULARY instead.public static final java.lang.String _serializedATN
public static final ATN _ATN
public XPathLexer(CharStream input)
@Deprecated public java.lang.String[] getTokenNames()
LexergetTokenNames in class Lexerpublic Vocabulary getVocabulary()
RecognizergetVocabulary in class Recognizer<java.lang.Integer,LexerATNSimulator>Vocabulary instance providing information about the
vocabulary used by the grammar.public java.lang.String getGrammarFileName()
RecognizergetGrammarFileName in class Recognizer<java.lang.Integer,LexerATNSimulator>public java.lang.String[] getRuleNames()
getRuleNames in class Recognizer<java.lang.Integer,LexerATNSimulator>public java.lang.String getSerializedATN()
RecognizerFor interpreters, we don't know their serialized ATN despite having created the interpreter from it.
getSerializedATN in class Recognizer<java.lang.Integer,LexerATNSimulator>public java.lang.String[] getModeNames()
getModeNames in class Lexerpublic ATN getATN()
RecognizerATN used by the recognizer for prediction.getATN in class Recognizer<java.lang.Integer,LexerATNSimulator>ATN used by the recognizer for prediction.public void action(RuleContext _localctx, int ruleIndex, int actionIndex)
action in class Recognizer<java.lang.Integer,LexerATNSimulator>private void ID_action(RuleContext _localctx, int actionIndex)