JODA  0.13.1 (59b41972)
JSON On-Demand Analysis
Delete.h
Go to the documentation of this file.
1 //
2 // Created by Nico on 21/02/2019.
3 //
4 
5 #ifndef JODA_DELETE_H
6 #define JODA_DELETE_H
7 
8 #include "../../../../../../../extern/PEGTL/include/tao/pegtl.hpp"
9 
10 #include "Literals.h"
12 
13 /*
14  * Forward Declaration Actions
15  */
16 template <typename Rule>
17 struct deleteAction : tao::pegtl::nothing<Rule> {};
18 
19 /*
20  * Keywords
21  */
22 #ifndef __CLION_IDE__ // Prevent lag from expanding all macros
23 struct deleteKW : TAOCPP_PEGTL_KEYWORD("DELETE") {};
24 #endif
25 
26 struct deleteIdent : tao::pegtl::identifier {};
27 
29  : tao::pegtl::opt<
30  tao::pegtl::pad<deleteKW, tao::pegtl::space>,
31  tao::pegtl::pad<tao::pegtl::must<deleteIdent>, tao::pegtl::space>> {};
32 
33 } // namespace joda::queryparsing::grammar
34 
35 #endif // JODA_DELETE_H