top | up | prev | next

BoundInitializationStatement Class

Definition at line 296 of BoundStatement.hpp

Constructors

BoundInitializationStatement(std::unique_ptr<BoundExpression>&& initializationExpression_)

Member Functions

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

Member Variables

std::unique_ptr<BoundExpression> initializationExpression

Constructor Details

BoundInitializationStatement Constructor

cmajor::binder::BoundInitializationStatement::BoundInitializationStatement(std::unique_ptr<BoundExpression >&& initializationExpression_)

Definition at line 312 of BoundStatement.cpp :
312 :
313 BoundStatement(initializationExpression_->GetSpan()initializationExpression_->ModuleId()BoundNodeType::boundInitializationStatement)
314 initializationExpression(std::move(initializationExpression_))
315 {
316 }


Declaration at line 299 of BoundStatement.hpp


Member Function Details

Accept Member Function

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

Definition at line 318 of BoundStatement.cpp :
319 {
320     visitor.Visit(*this);
321 }


Declaration at line 300 of BoundStatement.hpp

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

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


InitializationExpression Member Function

BoundExpression * cmajor::binder::BoundInitializationStatement::InitializationExpression()

Definition at line 301 of BoundStatement.hpp :
301 { return initializationExpression.get(); }


top | up | prev | next