memgraph/cypher/ast/return.hpp

26 lines
387 B
C++
Raw Normal View History

#ifndef MEMGRAPH_CYPHER_AST_RETURN_HPP
#define MEMGRAPH_CYPHER_AST_RETURN_HPP
#include "list.hpp"
#include "identifier.hpp"
namespace ast
{
struct ReturnList : public List<Identifier, ReturnList>
{
using List::List;
};
2015-10-19 01:44:00 +08:00
struct Return : public AstNode<Return>
{
Return(ReturnList* return_list)
: return_list(return_list) {}
ReturnList* return_list;
};
};
#endif