top | up | prev | next

ClassDefaultConstructor Class

Definition at line 2068 of OperationRepository.cpp

Constructors

ClassDefaultConstructor(ClassTypeSymbol* classType_)

Member Functions

const char* ClassName() const override
ClassTypeSymbol* ClassType()
SymbolAccess DeclaredAccess() const override
bool IsGeneratedFunction() const override

Member Variables

ClassTypeSymbol* classType

Constructor Details

ClassDefaultConstructor Constructor

cmajor::binder::ClassDefaultConstructor::ClassDefaultConstructor(ClassTypeSymbol* classType_)

Definition at line 2080 of OperationRepository.cpp :
2080 :
2081 ConstructorSymbol(classType_->GetSpan()classType_->SourceModuleId()U"@constructor")classType(classType_)
2082 {
2083     SetAccess(SymbolAccess::public_);
2084     SetParent(classType);
2085     ParameterSymbol* thisParam = new ParameterSymbol(classType_->GetSpan()classType_->SourceModuleId()U"this");
2086     thisParam->SetType(classType->AddPointer(Span()boost::uuids::nil_uuid()));
2087     AddMember(thisParam);
2088     ComputeName();
2089 }


Declaration at line 2071 of OperationRepository.cpp


Member Function Details

ClassName Member Function

const char * cmajor::binder::ClassDefaultConstructor::ClassName() const override

Definition at line 2075 of OperationRepository.cpp :
2075 { return "ClassDefaultConstructor"; }


ClassType Member Function

ClassTypeSymbol* cmajor::binder::ClassDefaultConstructor::ClassType()

Definition at line 2074 of OperationRepository.cpp :
2074 { return classType; }

Called by: cmajor::binder::ClassDefaultConstructorOperation::GenerateImplementation


DeclaredAccess Member Function

SymbolAccess cmajor::binder::ClassDefaultConstructor::DeclaredAccess() const override

Definition at line 2072 of OperationRepository.cpp :
2072 { return SymbolAccess::public_; }


IsGeneratedFunction Member Function

bool cmajor::binder::ClassDefaultConstructor::IsGeneratedFunction() const override

Definition at line 2073 of OperationRepository.cpp :
2073 { return true; }


top | up | prev | next