public class XPathLexer extends Lexer
| Modifier and Type | Field and Description |
|---|---|
static ATN |
_ATN |
static String |
_serializedATN |
static int |
ANYWHERE |
static int |
BANG |
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 |
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) |
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()
Used to print out token names like ID during debugging and
error reporting.
|
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, getATN, getErrorHeader, getErrorListenerDispatch, getErrorListeners, getInterpreter, getParseInfo, getRuleIndexMap, getState, getTokenErrorDisplay, getTokenType, getTokenTypeMap, precpred, removeErrorListener, removeErrorListeners, sempred, 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[] modeNames
public static final String[] tokenNames
public static final String[] ruleNames
public static final String _serializedATN
public static final ATN _ATN
public XPathLexer(CharStream input)
public String getGrammarFileName()
RecognizergetGrammarFileName in class Recognizer<Integer,LexerATNSimulator>public String[] getTokenNames()
LexergetTokenNames in class Lexerpublic String[] getRuleNames()
getRuleNames in class Recognizer<Integer,LexerATNSimulator>public String getSerializedATN()
RecognizerFor interpreters, we don't know their serialized ATN despite having created the interpreter from it.
getSerializedATN in class Recognizer<Integer,LexerATNSimulator>public String[] getModeNames()
getModeNames in class Lexerpublic void action(RuleContext _localctx, int ruleIndex, int actionIndex)
action in class Recognizer<Integer,LexerATNSimulator>Copyright © 1992–2014 ANTLR. All rights reserved.