top | up | prev | next

ConstructorDeclarationSymbol Abstract Class

Definition at line 73 of FunctionSymbol.hpp

Constructors

ConstructorDeclarationSymbol(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 IsConstructorDeclarationSymbol() const override
std::u32string KindStr() override
TypeSymbol* ReturnType() override
const std::u32string& SimpleName() const override

Constructor Details

ConstructorDeclarationSymbol Constructor

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

Definition at line 81 of FunctionSymbol.cpp :
 81 :
 82 FunctionDeclarationSymbol(span_U"constructor"name_specifiers_)
 83 {
 84 }


Declaration at line 76 of FunctionSymbol.hpp


Member Function Details

CreateElement Member Function

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

Definition at line 86 of FunctionSymbol.cpp :
 87 {
 88     std::unique_ptr<sngxml::dom::Element> constructorDeclarationElement(new sngxml::dom::Element(U"constructor_declaration"));
 89     return constructorDeclarationElement;
 90 }


Declaration at line 80 of FunctionSymbol.hpp

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


FunctionKind Member Function

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

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

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


GetType Member Function

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

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

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

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


IsConstructorDeclarationSymbol Member Function

bool sngcpp::symbols::ConstructorDeclarationSymbol::IsConstructorDeclarationSymbol() const override

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

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


KindStr Member Function

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

Definition at line 78 of FunctionSymbol.hpp :
 78 { return U"constructor_declaration"; }

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


ReturnType Member Function

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

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

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

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


SimpleName Member Function

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

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

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

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


top | up | prev | next