top | up | prev | next

ThisNode Class

Definition at line 529 of Expression.hpp

Constructors

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

Member Functions

void Accept(Visitor& visitor) override
Node* Clone(CloneContext& cloneContext) const override
std::string ToString() const override

Constructor Details

ThisNode Constructor

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

Definition at line 1317 of Expression.cpp :
1317 : Node(NodeType::thisNodespan_moduleId_)
1318 {
1319 }


Declaration at line 532 of Expression.hpp


Member Function Details

Accept Member Function

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

Definition at line 1327 of Expression.cpp :
1328 {
1329     visitor.Visit(*this);
1330 }


Declaration at line 534 of Expression.hpp

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

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


Clone Member Function

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

Definition at line 1321 of Expression.cpp :
1322 {
1323     ThisNode* clone = new ThisNode(GetSpan()ModuleId());
1324     return clone;
1325 }


Declaration at line 533 of Expression.hpp

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

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


ToString Member Function

std::string sngcm::ast::ThisNode::ToString() const override

Definition at line 1332 of Expression.cpp :
1333 {
1334     return "this";
1335 }


Declaration at line 535 of Expression.hpp

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


top | up | prev | next