23 getExpr(
const std::string& name);
33 const node* getMe()
const;
34 const std::string& getName()
const;
35 void setName(
const std::string& new1);
47 void setArgs(
const args& new1);
49 void onCloneDeep(
const clonable& new1)
override;
Function or object evaluation arguments.
Definition args.hpp:22
Interface for objects that can be cloned.
Definition clonable.hpp:13
Definition coreInternal.hpp:39
Type information for expression nodes
Definition expr.hpp:45
Base class for all expressions.
Definition expr.hpp:36
Expression for property and method access.
Definition getExpr.hpp:18
const args & getArgs() const
str infer() const override
virtual node * _onGet(node &me) const
Protected virtual method for the actual "get" logic.
void setName(const std::string *it) BY_SIDE_FUNC(setName) void setMe(const node &new Me)
Sets the base object ("me") for this access expression.
Base class for all AST nodes in the byeol language.
Definition node.hpp:195
Weak reference smart pointer with type-safe access.
Definition tweak.hpp:16
#define BY_SIDE_FUNC(...)
Side function macros for safe pointer operations.
Definition sideFunc.hpp:24