top | up | prev | next

StaticConstructorSymbol Class

Definition at line 321 of FunctionSymbol.hpp

Constructors

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

Member Functions

void Accept(SymbolCollector* collector) override
const char* ClassName() const override
std::u32string CodeName() const override
FunctionSymbol* Copy() const override
std::u32string FullNameWithSpecifiers() const override
std::u32string Info() const override
void SetSpecifiers(Specifiers specifiers)
int StartParamIndex() const override
std::string TypeString() const override

Constructor Details

StaticConstructorSymbol Constructor

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

Definition at line 1594 of FunctionSymbol.cpp :
1594 :
1595 FunctionSymbol(SymbolType::staticConstructorSymbolspan_sourceModuleId_name_)
1596 {
1597     SetGroupName(U"@static_constructor");
1598 }


Declaration at line 324 of FunctionSymbol.hpp


Member Function Details

Accept Member Function

void cmajor::symbols::StaticConstructorSymbol::Accept(SymbolCollector * collector) override

Definition at line 326 of FunctionSymbol.hpp :
326 {}

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


ClassName Member Function

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

Definition at line 331 of FunctionSymbol.hpp :
331 { return "StaticConstructorSymbol"; }

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


CodeName Member Function

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

Definition at line 1627 of FunctionSymbol.cpp :
1628 {
1629     return Parent()->CodeName();
1630 }


Declaration at line 329 of FunctionSymbol.hpp

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

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


Copy Member Function

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

Definition at line 1600 of FunctionSymbol.cpp :
1601 {
1602     StaticConstructorSymbol* copy = new StaticConstructorSymbol(GetSpan()SourceModuleId()Name());
1603     copy->CopyFrom(this);
1604     return copy;
1605 }


Declaration at line 333 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


FullNameWithSpecifiers Member Function

std::u32string cmajor::symbols::StaticConstructorSymbol::FullNameWithSpecifiers() const override

Definition at line 1607 of FunctionSymbol.cpp
Declaration at line 328 of FunctionSymbol.hpp

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

Calls: cmajor::symbols::FunctionSymbol::FullName , cmajor::symbols::FunctionSymbol::GetFunctionSymbolFlags , cmajor::symbols::Symbol::GetStableSymbolFlags


Info Member Function

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

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

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


SetSpecifiers Member Function

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

Definition at line 1632 of FunctionSymbol.cpp
Declaration at line 327 of FunctionSymbol.hpp

Calls: cmajor::symbols::Symbol::GetSpan , cmajor::symbols::Symbol::IsNothrow , cmajor::symbols::Symbol::SetAccess , cmajor::symbols::Symbol::SetNothrow , cmajor::symbols::Symbol::SetStatic , cmajor::symbols::Symbol::SourceModuleId


StartParamIndex Member Function

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

Definition at line 332 of FunctionSymbol.hpp :
332 { return 0; }

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


TypeString Member Function

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

Definition at line 325 of FunctionSymbol.hpp :
325 { return "static_constructor"; }

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


top | up | prev | next