Loading...
Searching...
No Matches
defNestedFuncExpr.hpp
Go to the documentation of this file.
1
2#pragma once
3
4#include "core/ast/func.hpp"
5#include "core/ast/expr.hpp"
6
7namespace by {
13 class _nout defNestedFuncExpr: public expr {
15
16 public:
18
19 public:
20 using super::eval;
21 str eval(const args& a) override;
22
23 func& getOrigin();
24 const func& getOrigin() const BY_CONST_FUNC(getOrigin())
25
26 str infer() const override;
27
28 private:
29 scope* _cloneLocalScope(frame& fr) const;
30
31 private:
32 tstr<func> _org;
33 };
34}
Function or object evaluation arguments.
Definition args.hpp:22
Nested function definition expression.
Definition defNestedFuncExpr.hpp:13
Type information for expression nodes
Definition expr.hpp:45
Base class for all expressions.
Definition expr.hpp:36
Execution frame.
Definition frame.hpp:52
Function definition in byeol language.
Definition func.hpp:38
Definition tnarr.hpp:9
to Top