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

25 lines
391 B
C++

#pragma once
#include "list.hpp"
#include "identifier.hpp"
namespace ast
{
struct LabelList : public List<Identifier, LabelList>
{
using List::List;
};
struct Node : public AstNode<Node>
{
Node(Identifier* idn, LabelList* labels, PropertyList* props)
: idn(idn), labels(labels), props(props) {}
Identifier* idn;
LabelList* labels;
PropertyList* props;
};
}