top | up | prev | next

SpecialMemberFunctionNode Class

Definition at line 138 of Class.hpp

Constructors

SpecialMemberFunctionNode()
SpecialMemberFunctionNode(const Span& span_, Specifier specifiers_, Node* declarator_, Node* ctorInitializer_, CompoundStatementNode* functionBody_)

Member Functions

void Accept(Visitor& visitor) override
Node* CtorInitializer()
Node* Declarator()
CompoundStatementNode* FunctionBody()
void Read(Reader& reader) override
Specifier Specifiers() const
void Write(Writer& writer) override

Member Variables

std::unique_ptr<Node> ctorInitializer
std::unique_ptr<Node> declarator
std::unique_ptr<CompoundStatementNode> functionBody
Specifier specifiers

Constructor Details

SpecialMemberFunctionNode Constructor

sngcpp::ast::SpecialMemberFunctionNode::SpecialMemberFunctionNode()

Definition at line 277 of Class.cpp :
277 : Node(NodeType::specialMemberFunctionNode)specifiers()
278 {
279 }


Declaration at line 141 of Class.hpp


SpecialMemberFunctionNode Constructor

sngcpp::ast::SpecialMemberFunctionNode::SpecialMemberFunctionNode(const Span& span_, Specifier specifiers_, Node * declarator_, Node * ctorInitializer_, CompoundStatementNode * functionBody_)

Definition at line 281 of Class.cpp :
281 :
282 Node(NodeType::specialMemberFunctionNodespan_)specifiers(specifiers_)declarator(declarator_)ctorInitializer(ctorInitializer_)functionBody(functionBody_)
283 {
284 }


Declaration at line 142 of Class.hpp


Member Function Details

Accept Member Function

void sngcpp::ast::SpecialMemberFunctionNode::Accept(Visitor & visitor) override

Definition at line 286 of Class.cpp :
287 {
288     visitor.Visit(*this);
289 }


Declaration at line 143 of Class.hpp

Base class overridden functions: sngcpp::ast::Node::Accept

Calls: sngcpp::ast::Visitor::Visit


CtorInitializer Member Function

Node * sngcpp::ast::SpecialMemberFunctionNode::CtorInitializer()

Definition at line 148 of Class.hpp :
148 { return ctorInitializer.get(); }


Declarator Member Function

Node * sngcpp::ast::SpecialMemberFunctionNode::Declarator()

Definition at line 147 of Class.hpp :
147 { return declarator.get(); }


FunctionBody Member Function

CompoundStatementNode * sngcpp::ast::SpecialMemberFunctionNode::FunctionBody()

Definition at line 149 of Class.hpp :
149 { return functionBody.get(); }


Read Member Function

void sngcpp::ast::SpecialMemberFunctionNode::Read(Reader & reader) override

Definition at line 308 of Class.cpp
Declaration at line 145 of Class.hpp

Base class overridden functions: sngcpp::ast::Node::Read

Calls: sngcpp::ast::Node::Read , sngcpp::ast::Reader::GetBinaryReader , sngcpp::ast::Reader::ReadCompoundStatementNode , sngcpp::ast::Reader::ReadNode , sngcpp::ast::Reader::ReadSpecifiers


Specifiers Member Function

Specifier sngcpp::ast::SpecialMemberFunctionNode::Specifiers() const

Definition at line 146 of Class.hpp :
146 { return specifiers; }


Write Member Function

void sngcpp::ast::SpecialMemberFunctionNode::Write(Writer & writer) override

Definition at line 291 of Class.cpp
Declaration at line 144 of Class.hpp

Base class overridden functions: sngcpp::ast::Node::Write

Calls: sngcpp::ast::Node::Write , sngcpp::ast::SpecialMemberFunctionNode::Write , sngcpp::ast::Writer::GetBinaryWriter , sngcpp::ast::Writer::Write

Called by: sngcpp::ast::SpecialMemberFunctionNode::Write


top | up | prev | next