54 friend struct ::frameTest;
72 void add(
const node& owner);
91 void addLocal(
const std::string* name,
const node&
n)
BY_SIDE_FUNC(name, addLocal(*name,
n),
void());
92 void addLocal(
const std::string& name,
const node*
n)
BY_SIDE_FUNC(
n, addLocal(name, *
n),
void());
93 void addLocal(
const std::string* name,
const node*
n)
BY_SIDE_FUNC(name&&
n, addLocal(*name, *
n),
void());
116 const node* getMe()
const BY_CONST_FUNC(getMe())
167 using super::prioritize;
Function or object evaluation arguments.
Definition args.hpp:22
Base class for all function types.
Definition baseFunc.hpp:41
Interface for objects that can dump their state.
Definition dumpable.hpp:13
Execution frame.
Definition frame.hpp:52
virtual void add(const node *owner, const scope &s)
Adds a scope associated with a specific owner node to the frame's scope chain.
virtual void del()
Deletes the top-most scope from the frame's scope chain.
virtual nbool setMe(const node &obj)
Sets the "me" object (context) for the current frame.
virtual void addLocal(const std::string &name, const node &n)
Adds a local symbol to the innermost local scope of the current frame.
void add(const scope &existing)
Adds an existing scope to the frame's scope chain.
Base class for all AST nodes in the byeol language.
Definition node.hpp:195
Byeol runtime environment object.
Definition obj.hpp:62
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
Scope registration entry for frame management.
Definition frame.hpp:16
priorType
Definition tpriorities.hpp:10