로딩중...
검색중...
일치하는것 없음
param.hpp
이 파일의 문서화 페이지로 가기
1
2#pragma once
3
4#include "core/common.hpp"
5#include "core/type/ntype.hpp"
7
8namespace by {
14 class _nout param: public instance {
15 BY(CLASS(param, instance))
16
17 public:
18 param(const std::string& newName, const node& org);
19 param(const std::string& newName, const node* org);
20
21 public:
22 nbool operator==(const me& rhs) const;
23 nbool operator!=(const me& rhs) const;
24
25 public:
26 const std::string& getName() const;
27
28 void setName(const std::string& new1);
29 void setName(const std::string* it) BY_SIDE_FUNC(setName);
30 void setName(const nchar* new1) BY_SIDE_FUNC(new1, setName(std::string(new1)), void());
31
32 const node& getOrigin() const;
37 void setOrigin(const node& newType);
38
39 void onCloneDeep(const clonable& from) override;
40
41 public:
42 std::string _name;
43 str _org;
44 };
45}
Base class for all AST nodes in the byeol language
Definition node.hpp:195
Function parameter
Definition param.hpp:14
void setOrigin(const node &newType)
Sets the origin node (type) for this parameter.
Definition tnarr.hpp:9
to Top