public class XPathLexer extends Lexer
| 限定符和类型 | 字段和说明 |
|---|---|
static ATN |
_ATN |
static String |
_serializedATN |
static int |
ANYWHERE |
static int |
BANG |
static String[] |
channelNames |
static int |
ID |
static String[] |
modeNames |
static int |
ROOT |
static int |
RULE_REF |
static String[] |
ruleNames |
static int |
STRING |
static int |
TOKEN_REF |
static String[] |
tokenNames
已过时。
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| 构造器和说明 |
|---|
XPathLexer(CharStream input) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
action(RuleContext _localctx,
int ruleIndex,
int actionIndex) |
String[] |
getChannelNames() |
String |
getGrammarFileName()
For debugging and other purposes, might want the grammar name.
|
String[] |
getModeNames() |
String[] |
getRuleNames() |
String |
getSerializedATN()
If this recognizer was generated, it will have a serialized ATN
representation of the grammar.
|
String[] |
getTokenNames()
已过时。
|
Vocabulary |
getVocabulary()
Get the vocabulary used by the recognizer.
|
boolean |
sempred(RuleContext _localctx,
int ruleIndex,
int predIndex) |
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, skip, validateInputStreamaddErrorListener, getATN, getErrorHeader, getErrorListenerDispatch, getErrorListeners, getInterpreter, getParseInfo, getRuleIndexMap, getState, getTokenErrorDisplay, getTokenType, getTokenTypeMap, precpred, removeErrorListener, removeErrorListeners, setInterpreter, setStatepublic 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 String[] channelNames
public static String[] modeNames
public static final String[] ruleNames
public static final Vocabulary VOCABULARY
@Deprecated public static final String[] tokenNames
VOCABULARY instead.public static final ATN _ATN
public XPathLexer(CharStream input)
@Deprecated public String[] getTokenNames()
LexergetTokenNames 在类中 Lexer@NotNull public Vocabulary getVocabulary()
RecognizergetVocabulary 在类中 Recognizer<Integer,LexerATNSimulator>Vocabulary instance providing information about the
vocabulary used by the grammar.public String getGrammarFileName()
RecognizergetGrammarFileName 在类中 Recognizer<Integer,LexerATNSimulator>public String[] getRuleNames()
getRuleNames 在类中 Recognizer<Integer,LexerATNSimulator>public String getSerializedATN()
RecognizerFor interpreters, we don't know their serialized ATN despite having created the interpreter from it.
@NotNull public String[] getChannelNames()
getChannelNames 在类中 Lexer@NotNull public String[] getModeNames()
getModeNames 在类中 Lexerpublic void action(RuleContext _localctx, int ruleIndex, int actionIndex)
action 在类中 Recognizer<Integer,LexerATNSimulator>public boolean sempred(RuleContext _localctx, int ruleIndex, int predIndex)
sempred 在类中 Recognizer<Integer,LexerATNSimulator>Copyright © 1992–2022 Daniel Sun. All rights reserved.