top | up | prev | next

BoundGotoCaseStatement Class

Definition at line 216 of BoundStatement.hpp

Constructors

BoundGotoCaseStatement(const Span& span_, const boost::uuids::uuid& moduleId_, std::unique_ptr<Value>&& caseValue_)

Member Functions

void Accept(BoundNodeVisitor& visitor) override
Value* CaseValue()

Member Variables

std::unique_ptr<Value> caseValue

Constructor Details

BoundGotoCaseStatement Constructor

cmajor::binder::BoundGotoCaseStatement::BoundGotoCaseStatement(const Span& span_, const boost::uuids::uuid& moduleId_, std::unique_ptr<Value>&& caseValue_)

Definition at line 230 of BoundStatement.cpp :
230 :
231 BoundStatement(span_moduleId_BoundNodeType::boundGotoCaseStatement)caseValue(std::move(caseValue_))
232 {
233 }



Member Function Details

Accept Member Function

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

Definition at line 235 of BoundStatement.cpp :
236 {
237     visitor.Visit(*this);
238 }


Declaration at line 220 of BoundStatement.hpp

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

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


CaseValue Member Function

Value * cmajor::binder::BoundGotoCaseStatement::CaseValue()

Definition at line 221 of BoundStatement.hpp :
221 { return caseValue.get(); }


top | up | prev | next