top | up | prev | next

BaseNode Class

Definition at line 538 of Expression.hpp

Constructors

BaseNode(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

BaseNode Constructor

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

Definition at line 1337 of Expression.cpp :
1337 : Node(NodeType::baseNodespan_moduleId_)
1338 {
1339 }


Declaration at line 541 of Expression.hpp


Member Function Details

Accept Member Function

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

Definition at line 1347 of Expression.cpp :
1348 {
1349     visitor.Visit(*this);
1350 }


Declaration at line 543 of Expression.hpp

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

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


Clone Member Function

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

Definition at line 1341 of Expression.cpp :
1342 {
1343     BaseNode* clone = new BaseNode(GetSpan()ModuleId());
1344     return clone;
1345 }


Declaration at line 542 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::BaseNode::ToString() const override

Definition at line 1352 of Expression.cpp :
1353 {
1354     return "base";
1355 }


Declaration at line 544 of Expression.hpp

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


top | up | prev | next