protected void OnActionSelected(Token input, ActionRecord action) { Data.Grammar.OnActionSelected(this, _currentToken, action); if (ActionSelected != null) { ParserActionEventArgs args = new ParserActionEventArgs(this.CurrentState, input, action); ActionSelected(this, args); } }