JODA  0.13.1 (59b41972)
JSON On-Demand Analysis
Delete_State.h
Go to the documentation of this file.
1 //
2 // Created by Nico on 08/05/2019.
3 //
4 
5 #ifndef JODA_DELETE_STATE_H
6 #define JODA_DELETE_STATE_H
7 #include "Query_State.h"
9 struct deleteState {
10  template <typename Input>
11  inline deleteState(const Input &in, queryState &qs) {}
12 
13  template <typename Input>
14  inline void success(const Input &in, queryState &qs) {
15  qs.q->setDelete(deleteVar);
16  }
17 
18  std::string deleteVar;
19 };
20 } // namespace joda::queryparsing::grammar
21 #endif // JODA_DELETE_STATE_H
Definition: Delete_State.h:9
deleteState(const Input &in, queryState &qs)
Definition: Delete_State.h:11
std::string deleteVar
Definition: Delete_State.h:18
void success(const Input &in, queryState &qs)
Definition: Delete_State.h:14
Definition: Query_State.h:21
std::shared_ptr< joda::query::Query > q
Definition: Query_State.h:33