2015-12-08 04:51:55 +08:00
|
|
|
#pragma once
|
2015-09-13 17:34:17 +08:00
|
|
|
|
|
|
|
#include "ast_node.hpp"
|
|
|
|
#include "queries.hpp"
|
|
|
|
|
|
|
|
namespace ast
|
|
|
|
{
|
|
|
|
|
|
|
|
struct Start : public AstNode<Start>
|
|
|
|
{
|
2015-10-19 01:44:00 +08:00
|
|
|
Start(ReadQuery* read_query, WriteQuery* write_query)
|
|
|
|
: read_query(read_query), write_query(write_query) {}
|
2015-09-13 17:34:17 +08:00
|
|
|
|
|
|
|
ReadQuery* read_query;
|
2015-10-19 01:44:00 +08:00
|
|
|
WriteQuery* write_query;
|
|
|
|
// ReadWriteQuery* read_write_query;
|
2015-09-13 17:34:17 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
};
|