top | up | prev | next

ClassCopyAssignmentOperation Abstract Class

Definition at line 2726 of OperationRepository.cpp

Constructors

ClassCopyAssignmentOperation(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(ClassCopyAssignment* copyAssignment, 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

ClassCopyAssignmentOperation Constructor

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

Definition at line 2739 of OperationRepository.cpp :
2739 : Operation(U"operator="2boundCompileUnit_)
2740 {
2741 }


Declaration at line 2729 of OperationRepository.cpp


Member Function Details

CollectViableFunctions Member Function

void cmajor::binder::ClassCopyAssignmentOperation::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 2743 of OperationRepository.cpp
Declaration at line 2730 of OperationRepository.cpp

Calls: cmajor::binder::BoundCompileUnit::FinalizeBinding , cmajor::binder::BoundCompileUnit::GetCompileUnitNode , cmajor::binder::BoundCompileUnit::GetConversion , cmajor::binder::BoundCompileUnit::GetModule , cmajor::binder::BoundCompileUnit::GetSymbolTable , cmajor::binder::ClassCopyAssignmentOperation::GenerateImplementation , cmajor::binder::Operation::GetBoundCompileUnit , cmajor::symbols::SymbolTable::GetTypeByName


GenerateImplementation Member Function

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

Definition at line 2808 of OperationRepository.cpp
Declaration at line 2732 of OperationRepository.cpp

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

Called by: cmajor::binder::ClassCopyAssignmentOperation::CollectViableFunctions


top | up | prev | next