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