|
hoshi-lang dev
Yet another programming language
|
#include <IR.h>


Public Member Functions | |
| Builder ()=default | |
| Builder & | setTemplateDefinition (const std::shared_ptr< IRStructDefinition > &templateDefinition) |
| Builder & | setTemplateMethod (const yoi::wstr &methodName, const std::shared_ptr< IRFunctionTemplate > &methodTemplate) |
| std::shared_ptr< IRStructTemplate > | yield () |
Public Member Functions inherited from IRTemplateBuilder | |
| IRTemplateBuilder ()=default | |
| IRTemplateBuilder & | addTemplateArgument (const yoi::wstr &templateName, const std::shared_ptr< IRValueType > &templateType, const yoi::vec< externModuleAccessExpression * > &satisfyConditions={}) |
Public Attributes | |
| std::shared_ptr< IRStructDefinition > | templateDefinition |
| yoi::indexTable< yoi::wstr, std::shared_ptr< IRFunctionTemplate > > | templateMethods |
Public Attributes inherited from IRTemplateBuilder | |
| yoi::indexTable< yoi::wstr, Argument > | templateArguments |
|
default |
| IRStructTemplate::Builder & setTemplateDefinition | ( | const std::shared_ptr< IRStructDefinition > & | templateDefinition | ) |
Definition at line 972 of file IR.cpp.
References IRFunctionTemplate::templateDefinition.
| IRStructTemplate::Builder & setTemplateMethod | ( | const yoi::wstr & | methodName, |
| const std::shared_ptr< IRFunctionTemplate > & | methodTemplate | ||
| ) |
| std::shared_ptr< IRStructTemplate > yield | ( | ) |
Definition at line 977 of file IR.cpp.
References IRFunctionTemplate::templateArguments, and IRFunctionTemplate::templateDefinition.
| std::shared_ptr<IRStructDefinition> templateDefinition |
| yoi::indexTable<yoi::wstr, std::shared_ptr<IRFunctionTemplate> > templateMethods |