로딩중...
검색중...
일치하는것 없음
retExpr.hpp
이 파일의 문서화 페이지로 가기
1
2#pragma once
3
5
6namespace by {
7
8 class visitor;
9
15 class _nout retExpr: public retStateExpr {
17
18 public:
19 retExpr(const node& ret);
20 retExpr();
21
22 public:
23 using super::eval;
24 str eval(const args& a) override;
25
26 node& getRet();
27 const node& getRet() const BY_CONST_FUNC(getRet())
28
29 using super::prioritize;
30 priorType prioritize(const args& a) const override;
31
32 str infer() const override;
33
34 private:
43 nbool _isEx(const node& got, const node& funcRet);
44
45 private:
46 str _ret;
47 };
48}
Function or object evaluation arguments
Definition args.hpp:22
Type information for expression nodes
Definition expr.hpp:45
Base class for all AST nodes in the byeol language
Definition node.hpp:195
Return statement expression
Definition retExpr.hpp:15
str infer() const override
const node &getRet() const BY_CONST_FUNC(getRet()) using super priorType prioritize(const args &a) const override
Base class for keywords that exit blockExpr
Definition retStateExpr.hpp:31
Definition tnarr.hpp:9
priorType
Definition tpriorities.hpp:10
to Top