32 friend struct ::frameTest;
41 void add(
const scope* it) BY_SIDE_FUNC(add);
44 void add(
const node& owner);
45 void add(
const node* it) BY_SIDE_FUNC(add);
46 virtual void add(
const node* owner,
const scope& s);
47 void add(
const node* owner,
const scope* s) BY_SIDE_FUNC(s, add(owner, *s),
void());
49 virtual void addLocal(
const std::string& name,
const node& n);
50 void addLocal(
const std::string* name,
const node& n) BY_SIDE_FUNC(name, addLocal(*name, n),
void());
51 void addLocal(
const std::string& name,
const node* n) BY_SIDE_FUNC(n, addLocal(name, *n),
void());
52 void addLocal(
const std::string* name,
const node* n) BY_SIDE_FUNC(name&& n, addLocal(*name, *n),
void());
53 void addLocal(
const nchar* name,
const node& n) BY_SIDE_FUNC(name, addLocal(std::string(name), n),
void());
54 void addLocal(
const nchar* name,
const node* n) BY_SIDE_FUNC(name&& n, addLocal(std::string(name), *n),
void());
58 virtual nbool setMe(
const node&
obj);
59 nbool setMe(
const node* it) BY_SIDE_FUNC(setMe);
62 const node* getMe() const BY_CONST_FUNC(getMe())
66 const
scope* getLocals() const BY_CONST_FUNC(getLocals())
68 virtual nbool addFunc(const
baseFunc& new1);
69 nbool addFunc(const
baseFunc* it) BY_SIDE_FUNC(addFunc);
74 const
baseFunc* getFunc() const BY_CONST_FUNC(getFunc())
77 node* getMeHaving(const
node* it) BY_SIDE_FUNC(getMeHaving);
78 const
node* getMeHaving(const
node& sub) const BY_CONST_FUNC(getMeHaving(sub))
79 const
node* getMeHaving(const
node* sub) const BY_CONST_FUNC(getMeHaving(sub))
82 scope* getScopeHaving(const
node* it) BY_SIDE_FUNC(getScopeHaving);
83 const
scope* getScopeHaving(const
node& sub) const BY_CONST_FUNC(getScopeHaving(sub))
84 const
scope* getScopeHaving(const
node* sub) const BY_CONST_FUNC(getScopeHaving(sub))
88 scope& subs() override;
91 using super::prioritize;
95 str run(const
args& a) override;
101 virtual nbool setRet(const
node& newRet) const;
102 virtual nbool setRet(const
node* it) const;
104 node* getRet() const;
106 void dump() const override;
111 const
scopeRegister* _getTop() const BY_CONST_FUNC(_getTop())
113 template <typename T> T* _getOwner(const
node* toFind, std::function<T*(nbool,
scopeRegister&)> cl);
Function call arguments container.
Definition: args.hpp:13
Base class for all function types.
Definition: baseFunc.hpp:18
Base class for all objects in byeol language.
Definition: baseObj.hpp:24
Interface for objects that can dump their state.
Definition: dumpable.hpp:12
Execution frame for byeol runtime.
Definition: frame.hpp:29
void add(const scope &existing)
Base class for all AST nodes in byeol language.
Definition: node.hpp:30
Managed object in byeol programming environment.
Definition: obj.hpp:19
Definition: tnbicontainer.hpp:8
AST verifier for semantic analysis.
Definition: verifier.hpp:20
Scope registration entry for frame management.
Definition: frame.hpp:16
priorType
the lower value, the higher priority.
Definition: tpriorities.hpp:8