top | up | prev | next

ConversionFunctionSymbol Class

Definition at line 391 of FunctionSymbol.hpp

Constructors

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

Member Functions

const char* ClassName() const override
uint8_t ConversionDistance() const override
FunctionSymbol* Copy() const override
std::unique_ptr<Element> CreateDomElement(TypeMap& typeMap) override
std::u32string DocName() const override
ConversionType GetConversionType() 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

ConversionFunctionSymbol Constructor

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

Definition at line 2190 of FunctionSymbol.cpp :
2190 :
2191 FunctionSymbol(SymbolType::conversionFunctionSymbolspan_sourceModuleId_name_)
2192 {
2193     SetConversion();
2194 }


Declaration at line 394 of FunctionSymbol.hpp


Member Function Details

ClassName Member Function

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

Definition at line 404 of FunctionSymbol.hpp :
404 { return "ConversionFunctionSymbol"; }

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


ConversionDistance Member Function

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

Definition at line 400 of FunctionSymbol.hpp :
400 { return 255; }

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


Copy Member Function

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

Definition at line 2196 of FunctionSymbol.cpp :
2197 {
2198     ConversionFunctionSymbol* copy = new ConversionFunctionSymbol(GetSpan()SourceModuleId()Name());
2199     copy->CopyFrom(this);
2200     return copy;
2201 }


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


CreateDomElement Member Function

std::unique_ptr<Element > cmajor::symbols::ConversionFunctionSymbol::CreateDomElement(TypeMap & typeMap) override

Definition at line 2297 of FunctionSymbol.cpp
Declaration at line 402 of FunctionSymbol.hpp

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

Calls: cmajor::symbols::FunctionSymbol::ReturnType , cmajor::symbols::TypeMap::GetOrInsertType


DocName Member Function

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

Definition at line 2203 of FunctionSymbol.cpp
Declaration at line 396 of FunctionSymbol.hpp

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

Calls: cmajor::symbols::FunctionSymbol::IsConst , cmajor::symbols::FunctionSymbol::ReturnType , cmajor::symbols::Symbol::FullName , cmajor::symbols::Symbol::Name , cmajor::symbols::Symbol::Ns


GetConversionType Member Function

ConversionType cmajor::symbols::ConversionFunctionSymbol::GetConversionType() const override

Definition at line 399 of FunctionSymbol.hpp :
399 { return ConversionType::implicit_; }

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


GetThisParam Member Function

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

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

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

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


Info Member Function

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

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

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


IsConstructorDestructorOrNonstaticMemberFunction Member Function

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

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

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


SetSpecifiers Member Function

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

Definition at line 2224 of FunctionSymbol.cpp
Declaration at line 401 of FunctionSymbol.hpp

Calls: cmajor::symbols::FunctionSymbol::SetConst , cmajor::symbols::FunctionSymbol::SetConstExpr , cmajor::symbols::FunctionSymbol::SetInline , 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::ConversionFunctionSymbol::StartParamIndex() const override

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

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


TypeString Member Function

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

Definition at line 395 of FunctionSymbol.hpp :
395 { return "conversion_function";  }

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


top | up | prev | next