top | up | prev | next

FullInstantiationRequestNode Class

Definition at line 51 of Template.hpp

Constructors

FullInstantiationRequestNode(const Span& span_, const boost::uuids::uuid& moduleId_)
FullInstantiationRequestNode(const Span& span_, const boost::uuids::uuid& moduleId_, TemplateIdNode* templateId_)

Member Functions

void Accept(Visitor& visitor) override
Node* Clone(CloneContext& cloneContext) const override
void Read(AstReader& reader) override
TemplateIdNode* TemplateId() const
void Write(AstWriter& writer) override

Member Variables

std::unique_ptr<TemplateIdNode> templateId

Constructor Details

FullInstantiationRequestNode Constructor

sngcm::ast::FullInstantiationRequestNode::FullInstantiationRequestNode(const Span& span_, const boost::uuids::uuid& moduleId_)

Definition at line 133 of Template.cpp :
133 : Node(NodeType::fullInstantiationRequestNodespan_moduleId_)templateId()
134 {
135 }


Declaration at line 54 of Template.hpp


FullInstantiationRequestNode Constructor

sngcm::ast::FullInstantiationRequestNode::FullInstantiationRequestNode(const Span& span_, const boost::uuids::uuid& moduleId_, TemplateIdNode * templateId_)

Definition at line 137 of Template.cpp :
137 :
138 Node(NodeType::fullInstantiationRequestNodespan_moduleId_)templateId(templateId_)
139 {
140 }


Declaration at line 55 of Template.hpp


Member Function Details

Accept Member Function

void sngcm::ast::FullInstantiationRequestNode::Accept(Visitor & visitor) override

Definition at line 147 of Template.cpp :
148 {
149     visitor.Visit(*this);
150 }


Declaration at line 57 of Template.hpp

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

Calls: sngcm::ast::Visitor::Visit


Clone Member Function

Node * sngcm::ast::FullInstantiationRequestNode::Clone(CloneContext & cloneContext) const override

Definition at line 142 of Template.cpp :
143 {
144     return new FullInstantiationRequestNode(GetSpan()ModuleId()static_cast<TemplateIdNode*>(templateId->Clone(cloneContext)));
145 }


Declaration at line 56 of Template.hpp

Base class overridden functions: sngcm::ast::Node::Clone

Calls: sngcm::ast::FullInstantiationRequestNode::Clone , sngcm::ast::Node::GetSpan , sngcm::ast::Node::ModuleId

Called by: sngcm::ast::FullInstantiationRequestNode::Clone


Read Member Function

void sngcm::ast::FullInstantiationRequestNode::Read(AstReader & reader) override

Definition at line 158 of Template.cpp :
159 {
160     Node::Read(reader);
161     templateId.reset(reader.ReadTemplateIdNode());
162 }


Declaration at line 59 of Template.hpp

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

Calls: sngcm::ast::AstReader::ReadTemplateIdNode , sngcm::ast::Node::Read


TemplateId Member Function

TemplateIdNode * sngcm::ast::FullInstantiationRequestNode::TemplateId() const

Definition at line 60 of Template.hpp :
60 { return templateId.get(); }


Write Member Function

void sngcm::ast::FullInstantiationRequestNode::Write(AstWriter & writer) override

Definition at line 152 of Template.cpp :
153 {
154     Node::Write(writer);
155     writer.Write(templateId.get());
156 }


Declaration at line 58 of Template.hpp

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

Calls: sngcm::ast::Node::Write


top | up | prev | next