Пример #1
0
 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);
     }
 }
Пример #2
0
 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);
   }
 }