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); }