memgraph/cypher/ast/node.hpp
2015-08-30 01:12:46 +02:00

28 lines
460 B
C++

#ifndef MEMGRAPH_CYPHER_AST_NODE_HPP
#define MEMGRAPH_CYPHER_AST_NODE_HPP
#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;
};
}
#endif