memgraph/cypher/ast/list.hpp
2015-12-07 21:51:55 +01:00

19 lines
242 B
C++

#pragma once
#include "ast_node.hpp"
namespace ast
{
template <class T, class Derived>
struct List : public AstNode<Derived>
{
List(T* value, Derived* next)
: value(value), next(next) {}
T* value;
Derived* next;
};
}