top | up | prev | next

ExpressionStatementNode Class

Definition at line 47 of Statement.hpp

Constructors

ExpressionStatementNode()
ExpressionStatementNode(const Span& span_, Node* expression_)

Member Functions

void Accept(Visitor& visitor) override

Constructor Details

ExpressionStatementNode Constructor

sngcpp::ast::ExpressionStatementNode::ExpressionStatementNode()

Definition at line 76 of Statement.cpp :
 76 : UnaryNode(NodeType::expressionStatementNode)
 77 {
 78 }


Declaration at line 50 of Statement.hpp


ExpressionStatementNode Constructor

sngcpp::ast::ExpressionStatementNode::ExpressionStatementNode(const Span& span_, Node * expression_)

Definition at line 80 of Statement.cpp :
 80 : UnaryNode(NodeType::expressionStatementNodespan_expression_)
 81 {
 82 }


Declaration at line 51 of Statement.hpp


Member Function Details

Accept Member Function

void sngcpp::ast::ExpressionStatementNode::Accept(Visitor & visitor) override

Definition at line 84 of Statement.cpp :
 85 {
 86     visitor.Visit(*this);
 87 }


Declaration at line 52 of Statement.hpp

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

Calls: sngcpp::ast::Visitor::Visit


top | up | prev | next