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