로딩중...
검색중...
일치하는것 없음
ctor.hpp
이 파일의 문서화 페이지로 가기
1
2#pragma once
3
4#include "core/ast/func.hpp"
5
6namespace by {
12 class _nout ctor: public func {
13 // don't define `CLASS` here:
14 // CLASS overrides getType() and it returns ttype<ctor> instead of mgdType
15 // from superclass
16 BY(ME(ctor, func), CLONE(func), VISIT())
17
18 public:
19 ctor(const modifier& mod, const params& ps, const blockExpr& blk);
20
21 public:
22 using super::eval;
23 str eval(const args& a) override;
24
25 str infer() const override;
26
27 const src& getSrc() const override;
28 };
29}
Function or object evaluation arguments
Definition args.hpp:22
Block expression
Definition blockExpr.hpp:24
Constructor function for byeol objects
Definition ctor.hpp:12
str infer() const override
Function definition in byeol language
Definition func.hpp:38
Access modifier for type members
Definition modifier.hpp:13
Function parameter list container
Definition params.hpp:16
Source location information
Definition src.hpp:15
Definition tnarr.hpp:9
to Top