Antlr4.Automata.LexerATNFactory.Action C# (CSharp) Method

Action() public method

public Action ( ActionAST action ) : Handle
action Antlr4.Tool.Ast.ActionAST
return Handle
        public override Handle Action(ActionAST action)
        {
            int ruleIndex = currentRule.index;
            int actionIndex = g.lexerActions[action];
            LexerCustomAction lexerAction = new LexerCustomAction(ruleIndex, actionIndex);
            return Action(action, lexerAction);
        }

Same methods

LexerATNFactory::Action ( GrammarAST node, ILexerAction lexerAction ) : Handle
LexerATNFactory::Action ( string action ) : Handle