Beispiel #1
0
 // <Action> ::= [ #FoundAction# ""ACTION"" ] .
 // First = [Action, <epsilon>]
 private void ParseAction()
 {
     if (_scanner.CurrentToken.TokenKind == TokenKind.Action)
     {
         _astBuilder.FoundAction(_scanner.CurrentToken);
         Match(TokenKind.Action);
         _scanner.Advance();
     }
 }