top | up | prev | next

ThisNode Class

Definition at line 529 of Expression.hpp

Constructors

ThisNode(const Span& span_)

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_)

Definition at line 1252 of Expression.cpp :
1252 : Node(NodeType::thisNodespan_)
1253 {
1254 }


Declaration at line 532 of Expression.hpp


Member Function Details

Accept Member Function

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

Definition at line 1261 of Expression.cpp :
1262 {
1263     visitor.Visit(*this);
1264 }


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 1256 of Expression.cpp :
1257 {
1258     return new ThisNode(GetSpan());
1259 }


Declaration at line 533 of Expression.hpp

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

Calls: sngcm::ast::Node::GetSpan


ToString Member Function

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

Definition at line 1266 of Expression.cpp :
1267 {
1268     return "this";
1269 }


Declaration at line 535 of Expression.hpp

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


top | up | prev | next