top | up | prev | next

BoundDoStatement Class

Definition at line 144 of BoundStatement.hpp

Constructors

BoundDoStatement(const Span& span_, const boost::uuids::uuid& moduleId_, std::unique_ptr<BoundStatement>&& statement_, std::unique_ptr<BoundExpression>&& condition_)

Member Functions

void Accept(BoundNodeVisitor& visitor) override
BoundExpression* Condition()
BoundStatement* Statement()

Member Variables

std::unique_ptr<BoundExpression> condition
std::unique_ptr<BoundStatement> statement

Constructor Details

BoundDoStatement Constructor

cmajor::binder::BoundDoStatement::BoundDoStatement(const Span& span_, const boost::uuids::uuid& moduleId_, std::unique_ptr<BoundStatement >&& statement_, std::unique_ptr<BoundExpression >&& condition_)

Definition at line 121 of BoundStatement.cpp :
121 :
122 BoundStatement(span_moduleId_BoundNodeType::boundDoStatement)statement(std::move(statement_))condition(std::move(condition_))
123 {
124     statement->SetParent(this);
125 }


Declaration at line 147 of BoundStatement.hpp


Member Function Details

Accept Member Function

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

Definition at line 127 of BoundStatement.cpp :
128 {
129     visitor.Visit(*this);
130 }


Declaration at line 148 of BoundStatement.hpp

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

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


Condition Member Function

BoundExpression * cmajor::binder::BoundDoStatement::Condition()

Definition at line 150 of BoundStatement.hpp :
150 { return condition.get(); }


Statement Member Function

BoundStatement * cmajor::binder::BoundDoStatement::Statement()

Definition at line 149 of BoundStatement.hpp :
149 { return statement.get(); }

Called by: cmajor::binder::ControlFlowAnalyzer::Visit


top | up | prev | next