#ifndef MEMGRAPH_CYPHER_AST_QUERIES_HPP #define MEMGRAPH_CYPHER_AST_QUERIES_HPP #include "ast_node.hpp" #include "match.hpp" #include "return.hpp" #include "create.hpp" namespace ast { struct ReadQuery : public AstNode { ReadQuery(Match* match, Return* return_clause) : match(match), return_clause(return_clause) {} Match* match; Return* return_clause; }; struct WriteQuery : public AstNode { WriteQuery(Create* create, Return* return_clause) : create(create), return_clause(return_clause) {} Create* create; Return* return_clause; }; } #endif