Package | Description |
---|---|
org.antlr.v4.runtime.atn |
Modifier and Type | Class and Description |
---|---|
class |
LexerChannelAction
Implements the
channel lexer action by calling
Lexer.setChannel(int) with the assigned channel. |
class |
LexerCustomAction
Executes a custom lexer action by calling
Recognizer.action(org.antlr.v4.runtime.RuleContext, int, int) with the
rule and action indexes assigned to the custom action. |
class |
LexerIndexedCustomAction
This implementation of
LexerAction is used for tracking input offsets
for position-dependent actions within a LexerActionExecutor . |
class |
LexerModeAction
Implements the
mode lexer action by calling Lexer.mode(int) with
the assigned mode. |
class |
LexerMoreAction
Implements the
more lexer action by calling Lexer.more() . |
class |
LexerPopModeAction
Implements the
popMode lexer action by calling Lexer.popMode() . |
class |
LexerPushModeAction
Implements the
pushMode lexer action by calling
Lexer.pushMode(int) with the assigned mode. |
class |
LexerSkipAction
Implements the
skip lexer action by calling Lexer.skip() . |
class |
LexerTypeAction
Implements the
type lexer action by calling Lexer.setType(int)
with the assigned type. |
Modifier and Type | Field and Description |
---|---|
LexerAction[] |
ATN.lexerActions
For lexer ATNs, this is an array of
LexerAction objects which may
be referenced by action transitions in the ATN. |
Modifier and Type | Method and Description |
---|---|
LexerAction |
LexerIndexedCustomAction.getAction()
Gets the lexer action to execute.
|
LexerAction[] |
LexerActionExecutor.getLexerActions()
Gets the lexer actions to be executed by this executor.
|
protected LexerAction |
ATNDeserializer.lexerActionFactory(LexerActionType type,
int data1,
int data2) |
Modifier and Type | Method and Description |
---|---|
static LexerActionExecutor |
LexerActionExecutor.append(LexerActionExecutor lexerActionExecutor,
LexerAction lexerAction)
Creates a
LexerActionExecutor which executes the actions for
the input lexerActionExecutor followed by a specified
lexerAction . |
Constructor and Description |
---|
LexerActionExecutor(LexerAction[] lexerActions)
Constructs an executor for a sequence of
LexerAction actions. |
LexerIndexedCustomAction(int offset,
LexerAction action)
Constructs a new indexed custom action by associating a character offset
with a
LexerAction . |
Copyright © 1992-2015 ANTLR. All Rights Reserved.