top | up | prev | next

EmptyStatementNode Class

Definition at line 340 of Statement.hpp

Constructors

EmptyStatementNode(const Span& span_)

Member Functions

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

Constructor Details

EmptyStatementNode Constructor

sngcm::ast::EmptyStatementNode::EmptyStatementNode(const Span& span_)

Definition at line 679 of Statement.cpp :
 679 : StatementNode(NodeType::emptyStatementNodespan_)
 680 {
 681 }


Declaration at line 343 of Statement.hpp


Member Function Details

Accept Member Function

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

Definition at line 689 of Statement.cpp :
 690 {
 691     visitor.Visit(*this);
 692 }


Declaration at line 345 of Statement.hpp

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

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


Clone Member Function

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

Definition at line 683 of Statement.cpp :
 684 {
 685     EmptyStatementNode* clone = new EmptyStatementNode(GetSpan());
 686     return clone;
 687 }


Declaration at line 344 of Statement.hpp

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

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


top | up | prev | next