top | up | prev | next

BoundExpressionStatement Class

Definition at line 286 of BoundStatement.hpp

Constructors

BoundExpressionStatement(std::unique_ptr<BoundExpression>&& expression_, const Span& span, const boost::uuids::uuid& moduleId_)

Member Functions

void Accept(BoundNodeVisitor& visitor) override
BoundExpression* Expression()

Member Variables

std::unique_ptr<BoundExpression> expression

Constructor Details

BoundExpressionStatement Constructor

cmajor::binder::BoundExpressionStatement::BoundExpressionStatement(std::unique_ptr<BoundExpression >&& expression_, const Span& span, const boost::uuids::uuid& moduleId_)

Definition at line 302 of BoundStatement.cpp :
302 :
303 BoundStatement(spanmoduleId_BoundNodeType::boundExpressionStatement)expression(std::move(expression_))
304 {
305 }


Declaration at line 289 of BoundStatement.hpp


Member Function Details

Accept Member Function

void cmajor::binder::BoundExpressionStatement::Accept(BoundNodeVisitor & visitor) override

Definition at line 307 of BoundStatement.cpp :
308 {
309     visitor.Visit(*this);
310 }


Declaration at line 290 of BoundStatement.hpp

Base class overridden functions: cmajor::binder::BoundNode::Accept

Calls: cmajor::binder::BoundNodeVisitor::Visit


Expression Member Function

BoundExpression * cmajor::binder::BoundExpressionStatement::Expression()

Definition at line 291 of BoundStatement.hpp :
291 { return expression.get(); }


top | up | prev | next