top | up | prev | next

ConstructorSymbol Class

Definition at line 152 of FunctionSymbol.hpp

Constructors

ConstructorSymbol(const Span& span_, const std::u32string& name_, Specifier specifiers_)

Member Functions

std::unique_ptr<sngxml::dom::Element> CreateElement() override
std::u32string FunctionKind() override
TypeSymbol* GetType() override
bool IsConstructorSymbol() const override
std::u32string KindStr() override
TypeSymbol* ReturnType() override
const std::u32string& SimpleName() const override

Constructor Details

ConstructorSymbol Constructor

sngcpp::symbols::ConstructorSymbol::ConstructorSymbol(const Span& span_, const std::u32string& name_, Specifier specifiers_)

Definition at line 275 of FunctionSymbol.cpp :
275 : FunctionSymbol(span_U"constructor"name_specifiers_)
276 {
277 }


Declaration at line 155 of FunctionSymbol.hpp


Member Function Details

CreateElement Member Function

std::unique_ptr<sngxml::dom::Element> sngcpp::symbols::ConstructorSymbol::CreateElement() override

Definition at line 279 of FunctionSymbol.cpp
Declaration at line 159 of FunctionSymbol.hpp

Base class overridden functions: sngcpp::symbols::FunctionSymbol::CreateElement , sngcpp::symbols::Symbol::CreateElement

Calls: sngcpp::symbols::FunctionSymbol::DeclarationFileId , sngcpp::symbols::FunctionSymbol::DeclarationFileName , sngcpp::symbols::FunctionSymbol::DeclarationSpan , sngcpp::symbols::FunctionSymbol::FileId , sngcpp::symbols::FunctionSymbol::FileName , sngcpp::symbols::FunctionSymbol::Parameters , sngcpp::symbols::FunctionSymbol::Specifiers , sngcpp::symbols::Symbol::GetSpan , sngcpp::symbols::Symbol::ToDomElement


FunctionKind Member Function

std::u32string sngcpp::symbols::ConstructorSymbol::FunctionKind() override

Definition at line 158 of FunctionSymbol.hpp :
158 { return U"constructor"; }

Base class overridden functions: sngcpp::symbols::CallableSymbol::FunctionKind , sngcpp::symbols::FunctionSymbol::FunctionKind


GetType Member Function

TypeSymbol * sngcpp::symbols::ConstructorSymbol::GetType() override

Definition at line 161 of FunctionSymbol.hpp :
161 { return Parent()->GetType(); }

Base class overridden functions: sngcpp::symbols::FunctionSymbol::GetType , sngcpp::symbols::Symbol::GetType

Calls: sngcpp::symbols::Symbol::GetType , sngcpp::symbols::Symbol::Parent


IsConstructorSymbol Member Function

bool sngcpp::symbols::ConstructorSymbol::IsConstructorSymbol() const override

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

Base class overridden functions: sngcpp::symbols::Symbol::IsConstructorSymbol


KindStr Member Function

std::u32string sngcpp::symbols::ConstructorSymbol::KindStr() override

Definition at line 157 of FunctionSymbol.hpp :
157 { return U"constructor"; }

Base class overridden functions: sngcpp::symbols::FunctionSymbol::KindStr , sngcpp::symbols::Symbol::KindStr


ReturnType Member Function

TypeSymbol * sngcpp::symbols::ConstructorSymbol::ReturnType() override

Definition at line 162 of FunctionSymbol.hpp :
162 { return Parent()->GetType(); }

Base class overridden functions: sngcpp::symbols::CallableSymbol::ReturnType , sngcpp::symbols::FunctionSymbol::ReturnType

Calls: sngcpp::symbols::Symbol::GetType , sngcpp::symbols::Symbol::Parent


SimpleName Member Function

const std::u32string& sngcpp::symbols::ConstructorSymbol::SimpleName() const override

Definition at line 160 of FunctionSymbol.hpp :
160 { return Name(); }

Base class overridden functions: sngcpp::symbols::FunctionSymbol::SimpleName , sngcpp::symbols::Symbol::SimpleName

Calls: sngcpp::symbols::Symbol::Name


top | up | prev | next