memgraph/cypher/ast/return.hpp

23 lines
314 B
C++
Raw Normal View History

#pragma once
#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;
};
};