top | up | prev | next

DestructorSymbol Class

Definition at line 165 of FunctionSymbol.hpp

Constructors

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

Member Functions

std::unique_ptr<sngxml::dom::Element> CreateElement() override
bool IsDestructorSymbol() const override
std::u32string KindStr() override
const std::u32string& SimpleName() const override

Constructor Details

DestructorSymbol Constructor

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

Definition at line 311 of FunctionSymbol.cpp :
311 : FunctionSymbol(span_U"destructor"name_specifiers_)
312 {
313 }


Declaration at line 168 of FunctionSymbol.hpp


Member Function Details

CreateElement Member Function

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

Definition at line 315 of FunctionSymbol.cpp
Declaration at line 171 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::Specifiers , sngcpp::symbols::Symbol::GetSpan


IsDestructorSymbol Member Function

bool sngcpp::symbols::DestructorSymbol::IsDestructorSymbol() const override

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

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


KindStr Member Function

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

Definition at line 170 of FunctionSymbol.hpp :
170 { return U"destructor"; }

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


SimpleName Member Function

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

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

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

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


top | up | prev | next