Package | Description |
---|---|
org.antlr.v4.gui | |
org.antlr.v4.runtime | |
org.antlr.v4.runtime.atn | |
org.antlr.v4.runtime.tree.pattern | |
org.antlr.v4.runtime.tree.xpath |
Modifier and Type | Method | Description |
---|---|---|
protected void |
TestRig.process(Lexer lexer,
Class<? extends Parser> parserClass,
Parser parser,
InputStream is,
Reader r) |
Modifier and Type | Class | Description |
---|---|---|
class |
LexerInterpreter |
Modifier and Type | Method | Description |
---|---|---|
ParseTreePattern |
Parser.compileParseTreePattern(String pattern,
int patternRuleIndex,
Lexer lexer) |
The same as
Parser.compileParseTreePattern(String, int) but specify a
Lexer rather than trying to deduce it from this parser. |
Constructor | Description |
---|---|
LexerNoViableAltException(Lexer lexer,
CharStream input,
int startIndex,
ATNConfigSet deadEndConfigs) |
Modifier and Type | Field | Description |
---|---|---|
protected Lexer |
LexerATNSimulator.recog |
Modifier and Type | Method | Description |
---|---|---|
void |
LexerAction.execute(Lexer lexer) |
Execute the lexer action in the context of the specified
Lexer . |
void |
LexerActionExecutor.execute(Lexer lexer,
CharStream input,
int startIndex) |
Execute the actions encapsulated by this executor within the context of a
particular
Lexer . |
void |
LexerChannelAction.execute(Lexer lexer) |
Execute the lexer action in the context of the specified
Lexer . |
void |
LexerCustomAction.execute(Lexer lexer) |
Execute the lexer action in the context of the specified
Lexer . |
void |
LexerIndexedCustomAction.execute(Lexer lexer) |
Execute the lexer action in the context of the specified
Lexer . |
void |
LexerModeAction.execute(Lexer lexer) |
Execute the lexer action in the context of the specified
Lexer . |
void |
LexerMoreAction.execute(Lexer lexer) |
Execute the lexer action in the context of the specified
Lexer . |
void |
LexerPopModeAction.execute(Lexer lexer) |
Execute the lexer action in the context of the specified
Lexer . |
void |
LexerPushModeAction.execute(Lexer lexer) |
Execute the lexer action in the context of the specified
Lexer . |
void |
LexerSkipAction.execute(Lexer lexer) |
Execute the lexer action in the context of the specified
Lexer . |
void |
LexerTypeAction.execute(Lexer lexer) |
Execute the lexer action in the context of the specified
Lexer . |
Constructor | Description |
---|---|
LexerATNSimulator(Lexer recog,
ATN atn,
DFA[] decisionToDFA,
PredictionContextCache sharedContextCache) |
Modifier and Type | Method | Description |
---|---|---|
Lexer |
ParseTreePatternMatcher.getLexer() |
Used to convert the tree pattern string into a series of tokens.
|
Constructor | Description |
---|---|
ParseTreePatternMatcher(Lexer lexer,
Parser parser) |
Modifier and Type | Class | Description |
---|---|---|
class |
XPathLexer |
Copyright © 1992–2018 ANTLR. All rights reserved.