top | up | prev | next

ThisInitializerNode Class

Definition at line 70 of Class.hpp

Constructors

ThisInitializerNode(const Span& span_, const boost::uuids::uuid& moduleId_)

Member Functions

void Accept(Visitor& visitor) override
Node* Clone(CloneContext& cloneContext) const override

Constructor Details

ThisInitializerNode Constructor

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

Definition at line 234 of Class.cpp :
234 : InitializerNode(NodeType::thisInitializerNodespan_moduleId_)
235 {
236 }


Declaration at line 73 of Class.hpp


Member Function Details

Accept Member Function

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

Definition at line 249 of Class.cpp :
250 {
251     visitor.Visit(*this);
252 }


Declaration at line 75 of Class.hpp

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

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


Clone Member Function

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

Definition at line 238 of Class.cpp :
239 {
240     ThisInitializerNode* clone = new ThisInitializerNode(GetSpan()ModuleId());
241     int n = Arguments().Count();
242     for (int i = 0; i < n; ++i)
243     {
244         clone->AddArgument(Arguments()[i]->Clone(cloneContext));
245     }
246     return clone;
247 }


Declaration at line 74 of Class.hpp

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

Calls: sngcm::ast::InitializerNode::AddArgument , sngcm::ast::InitializerNode::Arguments , sngcm::ast::Node::GetSpan , sngcm::ast::Node::ModuleId , sngcm::ast::NodeList::Count , sngcm::ast::ThisInitializerNode::Clone

Called by: sngcm::ast::ThisInitializerNode::Clone


top | up | prev | next