top | up | prev | next

ClassDefaultConstructorOperation Abstract Class

Definition at line 2091 of OperationRepository.cpp

Constructors

ClassDefaultConstructorOperation(BoundCompileUnit& boundCompileUnit_)

Member Functions

void CollectViableFunctions(ContainerScope* containerScope, const std::vector<std::unique_ptr<BoundExpression>>& arguments, BoundFunction* currentFunction, ViableFunctionSet& viableFunctions, std::unique_ptr<Exception>& exception, const Span& span, const boost::uuids::uuid& moduleId, CollectFlags flags) override
bool GenerateImplementation(ClassDefaultConstructor* defaultConstructor, ContainerScope* containerScope, BoundFunction* currentFunction, std::unique_ptr<Exception>& exception, const Span& span, const boost::uuids::uuid& moduleId)

Member Variables

std::unordered_map<boost::uuids::uuid, FunctionSymbol*, boost::hash<boost::uuids::uuid>> functionMap
std::vector<std::unique_ptr<FunctionSymbol>> functions

Constructor Details

ClassDefaultConstructorOperation Constructor

cmajor::binder::ClassDefaultConstructorOperation::ClassDefaultConstructorOperation(BoundCompileUnit & boundCompileUnit_)

Definition at line 2104 of OperationRepository.cpp :
2104 : Operation(U"@constructor"1boundCompileUnit_)
2105 {
2106 }


Declaration at line 2094 of OperationRepository.cpp


Member Function Details

CollectViableFunctions Member Function

void cmajor::binder::ClassDefaultConstructorOperation::CollectViableFunctions(ContainerScope* containerScope, const std::vector<std::unique_ptr<BoundExpression >>& arguments, BoundFunction * currentFunction, ViableFunctionSet& viableFunctions, std::unique_ptr<Exception>& exception, const Span& span, const boost::uuids::uuid& moduleId, CollectFlags flags) override

Definition at line 2108 of OperationRepository.cpp
Declaration at line 2095 of OperationRepository.cpp

Calls: cmajor::binder::BoundCompileUnit::FinalizeBinding , cmajor::binder::BoundCompileUnit::GetCompileUnitNode , cmajor::binder::BoundCompileUnit::GetModule , cmajor::binder::ClassDefaultConstructorOperation::GenerateImplementation , cmajor::binder::Operation::GetBoundCompileUnit


GenerateImplementation Member Function

bool cmajor::binder::ClassDefaultConstructorOperation::GenerateImplementation(ClassDefaultConstructor * defaultConstructor, ContainerScope* containerScope, BoundFunction * currentFunction, std::unique_ptr<Exception>& exception, const Span& span, const boost::uuids::uuid& moduleId)

Definition at line 2152 of OperationRepository.cpp
Declaration at line 2097 of OperationRepository.cpp

Calls: cmajor::binder::BoundCompileUnit::AddBoundNode , cmajor::binder::BoundCompileUnit::GetConversion , cmajor::binder::BoundExpression::GetType , cmajor::binder::BoundMemberVariable::SetClassPtr , cmajor::binder::ClassDefaultConstructor::ClassType , cmajor::binder::Operation::GetBoundCompileUnit , cmajor::binder::Operation::GroupName , cmajor::symbols::TypeSymbol::AddPointer

Called by: cmajor::binder::ClassDefaultConstructorOperation::CollectViableFunctions


top | up | prev | next