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

22 lines
310 B
C++

#pragma once
#include <memory>
#include <string>
#include "expr.hpp"
#include "identifier.hpp"
namespace ast
{
struct Accessor : public VisitableExpr<Accessor>
{
Accessor(Identifier* entity, Identifier* prop)
: entity(entity), prop(prop) {}
Identifier* entity;
Identifier* prop;
};
}