top | up | prev | next

BoundConstructionStatement Class

Definition at line 263 of BoundStatement.hpp

Constructors

BoundConstructionStatement(std::unique_ptr<BoundFunctionCall>&& constructorCall_, const Span& span, const boost::uuids::uuid& moduleId_)

Member Functions

void Accept(BoundNodeVisitor& visitor) override
BoundFunctionCall* ConstructorCall()
LocalVariableSymbol* GetLocalVariable() const
void SetLocalVariable(LocalVariableSymbol* localVariable_)

Member Variables

std::unique_ptr<BoundFunctionCall> constructorCall
LocalVariableSymbol* localVariable

Constructor Details

BoundConstructionStatement Constructor

cmajor::binder::BoundConstructionStatement::BoundConstructionStatement(std::unique_ptr<BoundFunctionCall >&& constructorCall_, const Span& span, const boost::uuids::uuid& moduleId_)

Definition at line 277 of BoundStatement.cpp :
277 :
278 BoundStatement(spanmoduleId_BoundNodeType::boundConstructionStatement)constructorCall(std::move(constructorCall_))localVariable(nullptr)
279 {
280 }


Declaration at line 266 of BoundStatement.hpp


Member Function Details

Accept Member Function

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

Definition at line 287 of BoundStatement.cpp :
288 {
289     visitor.Visit(*this);
290 }


Declaration at line 267 of BoundStatement.hpp

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

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


ConstructorCall Member Function

BoundFunctionCall * cmajor::binder::BoundConstructionStatement::ConstructorCall()

Definition at line 268 of BoundStatement.hpp :
268 { return constructorCall.get(); }


GetLocalVariable Member Function

LocalVariableSymbol * cmajor::binder::BoundConstructionStatement::GetLocalVariable() const

Definition at line 270 of BoundStatement.hpp :
270 { return localVariable; }


SetLocalVariable Member Function

void cmajor::binder::BoundConstructionStatement::SetLocalVariable(LocalVariableSymbol* localVariable_)

Definition at line 282 of BoundStatement.cpp :
283 {
284     localVariable = localVariable_;
285 }


Called by: cmajor::binder::StatementBinder::Visit


top | up | prev | next