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

25 lines
353 B
C++

#pragma once
#include "list.hpp"
#include "identifier.hpp"
#include "expr.hpp"
namespace ast
{
struct Property : public AstNode<Property>
{
Property(Identifier* idn, Expr* value)
: idn(idn), value(value) {}
Identifier* idn;
Expr* value;
};
struct PropertyList : public List<Property, PropertyList>
{
using List::List;
};
}