memgraph/cypher/ast/accessor.hpp

22 lines
310 B
C++
Raw Normal View History

#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) {}
2015-10-19 01:44:00 +08:00
Identifier* entity;
Identifier* prop;
};
}