top | up | prev | next

DeclarationBlockSymbol Class

Definition at line 12 of DeclarationBlockSymbol.hpp

Constructors

DeclarationBlockSymbol(const Span& span_, const std::u32string& name_)

Member Functions

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

Constructor Details

DeclarationBlockSymbol Constructor

sngcpp::symbols::DeclarationBlockSymbol::DeclarationBlockSymbol(const Span& span_, const std::u32string& name_)

Definition at line 10 of DeclarationBlockSymbol.cpp :
10 : ContainerSymbol(span_name_)
11 {
12 }


Declaration at line 15 of DeclarationBlockSymbol.hpp


Member Function Details

CreateElement Member Function

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

Definition at line 14 of DeclarationBlockSymbol.cpp :
15 {
16     return std::unique_ptr<sngxml::dom::Element>(new sngxml::dom::Element(U"block"));
17 }


Declaration at line 17 of DeclarationBlockSymbol.hpp

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


IsDeclarationBlockSymbol Member Function

bool sngcpp::symbols::DeclarationBlockSymbol::IsDeclarationBlockSymbol() const override

Definition at line 18 of DeclarationBlockSymbol.hpp :
18 { return true; }

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


KindStr Member Function

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

Definition at line 16 of DeclarationBlockSymbol.hpp :
16 { return U"declaration_block"; }

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


top | up | prev | next