Uses of Interface
org.antlr.v4.runtime.atn.LexerAction
-
Packages that use LexerAction Package Description org.antlr.v4.runtime.atn -
-
Uses of LexerAction in org.antlr.v4.runtime.atn
Classes in org.antlr.v4.runtime.atn that implement LexerAction Modifier and Type Class Description class
LexerChannelAction
Implements thechannel
lexer action by callingLexer.setChannel(int)
with the assigned channel.class
LexerCustomAction
Executes a custom lexer action by callingRecognizer.action(org.antlr.v4.runtime.RuleContext, int, int)
with the rule and action indexes assigned to the custom action.class
LexerIndexedCustomAction
This implementation ofLexerAction
is used for tracking input offsets for position-dependent actions within aLexerActionExecutor
.class
LexerModeAction
Implements themode
lexer action by callingLexer.mode(int)
with the assigned mode.class
LexerMoreAction
Implements themore
lexer action by callingLexer.more()
.class
LexerPopModeAction
Implements thepopMode
lexer action by callingLexer.popMode()
.class
LexerPushModeAction
Implements thepushMode
lexer action by callingLexer.pushMode(int)
with the assigned mode.class
LexerSkipAction
Implements theskip
lexer action by callingLexer.skip()
.class
LexerTypeAction
Implements thetype
lexer action by callingLexer.setType(int)
with the assigned type.Fields in org.antlr.v4.runtime.atn declared as LexerAction Modifier and Type Field Description LexerAction[]
ATN. lexerActions
For lexer ATNs, this is an array ofLexerAction
objects which may be referenced by action transitions in the ATN.Methods in org.antlr.v4.runtime.atn that return LexerAction Modifier and Type Method 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)
Methods in org.antlr.v4.runtime.atn with parameters of type LexerAction Modifier and Type Method Description static LexerActionExecutor
LexerActionExecutor. append(LexerActionExecutor lexerActionExecutor, LexerAction lexerAction)
Creates aLexerActionExecutor
which executes the actions for the inputlexerActionExecutor
followed by a specifiedlexerAction
.Constructors in org.antlr.v4.runtime.atn with parameters of type LexerAction Constructor Description LexerActionExecutor(LexerAction[] lexerActions)
Constructs an executor for a sequence ofLexerAction
actions.LexerIndexedCustomAction(int offset, LexerAction action)
Constructs a new indexed custom action by associating a character offset with aLexerAction
.
-