ctor.hpp
Go to the documentation of this file.
1
2#pragma once
3
4#include "core/ast/func.hpp"
5
6namespace by {
11 class _nout ctor: public func {
12 BY(ME(ctor, func), INIT_META(ctor), CLONE(ctor), VISIT())
13 typedef ntype metaType;
14
15 public:
16 ctor(const modifier& mod, const params& ps, const blockExpr& blk);
17
18 public:
19 using super::run;
20 str run(const args& a) override;
21
22 str getEval() const override;
23
24 const src& getSrc() const override;
25 };
26}
Function call arguments container.
Definition: args.hpp:13
Block expression containing multiple statements.
Definition: blockExpr.hpp:15
Constructor function for byeol objects.
Definition: ctor.hpp:11
str getEval() const override
Function definition in byeol language.
Definition: func.hpp:20
Access modifier for class members and func.
Definition: modifier.hpp:12
Native type system for byeol language.
Definition: ntype.hpp:19
Function parameter list container.
Definition: params.hpp:15
Source location information.
Definition: src.hpp:11