top | up | prev | next

ConstructorSymbol Class

Definition at line 336 of FunctionSymbol.hpp

Constructors

ConstructorSymbol(const Span& span_, const boost::uuids::uuid& sourceModuleId_, const std::u32string& name_)

Member Functions

const char* ClassName() const override
std::u32string CodeName() const override
uint8_t ConversionDistance() const override
FunctionSymbol* Copy() const override
std::u32string DocName() const override
ParameterSymbol* GetThisParam() const override
std::u32string Info() const override
bool IsConstructorDestructorOrNonstaticMemberFunction() const override
void SetSpecifiers(Specifiers specifiers)
int StartParamIndex() const override
std::string TypeString() const override

Constructor Details

ConstructorSymbol Constructor

cmajor::symbols::ConstructorSymbol::ConstructorSymbol(const Span& span_, const boost::uuids::uuid& sourceModuleId_, const std::u32string& name_)

Definition at line 1702 of FunctionSymbol.cpp :
1702 :
1703 FunctionSymbol(SymbolType::constructorSymbolspan_sourceModuleId_name_)
1704 {
1705     SetGroupName(U"@constructor");
1706 }


Declaration at line 339 of FunctionSymbol.hpp


Member Function Details

ClassName Member Function

const char * cmajor::symbols::ConstructorSymbol::ClassName() const override

Definition at line 348 of FunctionSymbol.hpp :
348 { return "ConstructorSymbol"; }

Base class overridden functions: cmajor::symbols::ContainerSymbol::ClassName , cmajor::symbols::FunctionSymbol::ClassName , cmajor::symbols::Symbol::ClassName


CodeName Member Function

std::u32string cmajor::symbols::ConstructorSymbol::CodeName() const override

Definition at line 1762 of FunctionSymbol.cpp :
1763 {
1764     return Parent()->CodeName();
1765 }


Declaration at line 342 of FunctionSymbol.hpp

Base class overridden functions: cmajor::symbols::FunctionSymbol::CodeName , cmajor::symbols::Symbol::CodeName

Calls: cmajor::symbols::Symbol::CodeName , cmajor::symbols::Symbol::Parent


ConversionDistance Member Function

uint8_t cmajor::symbols::ConstructorSymbol::ConversionDistance() const override

Definition at line 1767 of FunctionSymbol.cpp :
1768 {
1769     return 5;
1770 }


Declaration at line 346 of FunctionSymbol.hpp

Base class overridden functions: cmajor::symbols::FunctionSymbol::ConversionDistance


Copy Member Function

FunctionSymbol * cmajor::symbols::ConstructorSymbol::Copy() const override

Definition at line 1708 of FunctionSymbol.cpp :
1709 {
1710     ConstructorSymbol* copy = new ConstructorSymbol(GetSpan()SourceModuleId()Name());
1711     copy->CopyFrom(this);
1712     return copy;
1713 }


Declaration at line 350 of FunctionSymbol.hpp

Base class overridden functions: cmajor::symbols::FunctionSymbol::Copy

Calls: cmajor::symbols::FunctionSymbol::CopyFrom , cmajor::symbols::Symbol::GetSpan , cmajor::symbols::Symbol::Name , cmajor::symbols::Symbol::SourceModuleId


DocName Member Function

std::u32string cmajor::symbols::ConstructorSymbol::DocName() const override

Definition at line 1735 of FunctionSymbol.cpp
Declaration at line 341 of FunctionSymbol.hpp

Base class overridden functions: cmajor::symbols::FunctionSymbol::DocName , cmajor::symbols::Symbol::DocName

Calls: cmajor::symbols::FunctionSymbol::Parameters , cmajor::symbols::Symbol::DocName , cmajor::symbols::Symbol::FullName , cmajor::symbols::Symbol::Name , cmajor::symbols::Symbol::Ns , cmajor::symbols::Symbol::Parent , cmajor::symbols::VariableSymbol::GetType


GetThisParam Member Function

ParameterSymbol * cmajor::symbols::ConstructorSymbol::GetThisParam() const override

Definition at line 343 of FunctionSymbol.hpp :
343 { return Parameters()[0]; }

Base class overridden functions: cmajor::symbols::FunctionSymbol::GetThisParam

Calls: cmajor::symbols::FunctionSymbol::Parameters


Info Member Function

std::u32string cmajor::symbols::ConstructorSymbol::Info() const override

Definition at line 347 of FunctionSymbol.hpp :
347 { return std::u32string(); }

Base class overridden functions: cmajor::symbols::FunctionSymbol::Info , cmajor::symbols::Symbol::Info


IsConstructorDestructorOrNonstaticMemberFunction Member Function

bool cmajor::symbols::ConstructorSymbol::IsConstructorDestructorOrNonstaticMemberFunction() const override

Definition at line 344 of FunctionSymbol.hpp :
344 { return true; }

Base class overridden functions: cmajor::symbols::FunctionSymbol::IsConstructorDestructorOrNonstaticMemberFunction


SetSpecifiers Member Function

void cmajor::symbols::ConstructorSymbol::SetSpecifiers(Specifiers specifiers)

Definition at line 1772 of FunctionSymbol.cpp
Declaration at line 345 of FunctionSymbol.hpp

Calls: cmajor::symbols::FunctionSymbol::IsInline , cmajor::symbols::FunctionSymbol::IsSuppressed , cmajor::symbols::FunctionSymbol::SetConstExpr , cmajor::symbols::FunctionSymbol::SetDefault , cmajor::symbols::FunctionSymbol::SetExplicit , cmajor::symbols::FunctionSymbol::SetInline , cmajor::symbols::FunctionSymbol::SetSuppressed , cmajor::symbols::Symbol::GetSpan , cmajor::symbols::Symbol::IsNothrow , cmajor::symbols::Symbol::SetAccess , cmajor::symbols::Symbol::SetNothrow , cmajor::symbols::Symbol::SourceModuleId


StartParamIndex Member Function

int cmajor::symbols::ConstructorSymbol::StartParamIndex() const override

Definition at line 349 of FunctionSymbol.hpp :
349 { return 1; }

Base class overridden functions: cmajor::symbols::FunctionSymbol::StartParamIndex


TypeString Member Function

std::string cmajor::symbols::ConstructorSymbol::TypeString() const override

Definition at line 1715 of FunctionSymbol.cpp
Declaration at line 340 of FunctionSymbol.hpp

Base class overridden functions: cmajor::symbols::ContainerSymbol::TypeString , cmajor::symbols::FunctionSymbol::TypeString , cmajor::symbols::Symbol::TypeString

Calls: cmajor::symbols::FunctionSymbol::IsCopyConstructor , cmajor::symbols::FunctionSymbol::IsDefaultConstructor , cmajor::symbols::FunctionSymbol::IsMoveConstructor


top | up | prev | next