Uses of Interface
org.antlr.v4.runtime.atn.LexerAction
Packages that use LexerAction
-
Uses of LexerAction in org.antlr.v4.automata
Fields in org.antlr.v4.automata with type parameters of type LexerActionModifier and TypeFieldDescriptionprotected Map
<LexerAction, Integer> LexerATNFactory.actionToIndexMap
Maps from aLexerAction
object to the action index.protected Map
<Integer, LexerAction> LexerATNFactory.indexToActionMap
Maps from an action index to aLexerAction
object.Methods in org.antlr.v4.automata with parameters of type LexerActionModifier and TypeMethodDescriptionprotected ATNFactory.Handle
LexerATNFactory.action
(GrammarAST node, LexerAction lexerAction) protected int
LexerATNFactory.getLexerActionIndex
(LexerAction lexerAction) -
Uses of LexerAction in org.antlr.v4.runtime.atn
Classes in org.antlr.v4.runtime.atn that implement LexerActionModifier and TypeClassDescriptionfinal class
Implements thechannel
lexer action by callingLexer.setChannel(int)
with the assigned channel.final class
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.final class
This implementation ofLexerAction
is used for tracking input offsets for position-dependent actions within aLexerActionExecutor
.final class
Implements themode
lexer action by callingLexer.mode(int)
with the assigned mode.final class
Implements themore
lexer action by callingLexer.more()
.final class
Implements thepopMode
lexer action by callingLexer.popMode()
.final class
Implements thepushMode
lexer action by callingLexer.pushMode(int)
with the assigned mode.final class
Implements theskip
lexer action by callingLexer.skip()
.class
Implements thetype
lexer action by callingLexer.setType(int)
with the assigned type.Fields in org.antlr.v4.runtime.atn declared as LexerActionModifier and TypeFieldDescriptionATN.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 LexerActionModifier and TypeMethodDescriptionLexerIndexedCustomAction.getAction()
Gets the lexer action to execute.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 LexerActionModifier and TypeMethodDescriptionstatic 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 LexerActionModifierConstructorDescriptionLexerActionExecutor
(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
.