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.actionToIndexMapMaps from aLexerActionobject to the action index.protected Map<Integer, LexerAction> LexerATNFactory.indexToActionMapMaps from an action index to aLexerActionobject.Methods in org.antlr.v4.automata with parameters of type LexerActionModifier and TypeMethodDescriptionprotected ATNFactory.HandleLexerATNFactory.action(GrammarAST node, LexerAction lexerAction) protected intLexerATNFactory.getLexerActionIndex(LexerAction lexerAction) -
Uses of LexerAction in org.antlr.v4.runtime.atn
Classes in org.antlr.v4.runtime.atn that implement LexerActionModifier and TypeClassDescriptionfinal classImplements thechannellexer action by callingLexer.setChannel(int)with the assigned channel.final classExecutes 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 classThis implementation ofLexerActionis used for tracking input offsets for position-dependent actions within aLexerActionExecutor.final classImplements themodelexer action by callingLexer.mode(int)with the assigned mode.final classImplements themorelexer action by callingLexer.more().final classImplements thepopModelexer action by callingLexer.popMode().final classImplements thepushModelexer action by callingLexer.pushMode(int)with the assigned mode.final classImplements theskiplexer action by callingLexer.skip().classImplements thetypelexer action by callingLexer.setType(int)with the assigned type.Fields in org.antlr.v4.runtime.atn declared as LexerActionModifier and TypeFieldDescriptionATN.lexerActionsFor lexer ATNs, this is an array ofLexerActionobjects 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 LexerActionATNDeserializer.lexerActionFactory(LexerActionType type, int data1, int data2) Methods in org.antlr.v4.runtime.atn with parameters of type LexerActionModifier and TypeMethodDescriptionstatic LexerActionExecutorLexerActionExecutor.append(LexerActionExecutor lexerActionExecutor, LexerAction lexerAction) Creates aLexerActionExecutorwhich executes the actions for the inputlexerActionExecutorfollowed by a specifiedlexerAction.Constructors in org.antlr.v4.runtime.atn with parameters of type LexerActionModifierConstructorDescriptionLexerActionExecutor(LexerAction[] lexerActions) Constructs an executor for a sequence ofLexerActionactions.LexerIndexedCustomAction(int offset, LexerAction action) Constructs a new indexed custom action by associating a character offset with aLexerAction.