top | up | prev | next

BoundDefaultStatement Class

Definition at line 205 of BoundStatement.hpp

Constructors

BoundDefaultStatement(const Span& span_, const boost::uuids::uuid& moduleId_)

Member Functions

void Accept(BoundNodeVisitor& visitor) override
void AddStatement(std::unique_ptr<BoundStatement>&& statement)
BoundCompoundStatement* CompoundStatement()

Member Variables

std::unique_ptr<BoundCompoundStatement> compoundStatement

Constructor Details

BoundDefaultStatement Constructor

cmajor::binder::BoundDefaultStatement::BoundDefaultStatement(const Span& span_, const boost::uuids::uuid& moduleId_)

Definition at line 201 of BoundStatement.cpp :
201 :
202 BoundStatement(span_moduleId_BoundNodeType::boundDefaultStatement)
203 {
204 }


Declaration at line 208 of BoundStatement.hpp


Member Function Details

Accept Member Function

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

Definition at line 225 of BoundStatement.cpp :
226 {
227     visitor.Visit(*this);
228 }


Declaration at line 211 of BoundStatement.hpp

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

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

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


AddStatement Member Function

void cmajor::binder::BoundDefaultStatement::AddStatement(std::unique_ptr<BoundStatement >&& statement)

Definition at line 206 of BoundStatement.cpp
Declaration at line 209 of BoundStatement.hpp

Calls: cmajor::binder::BoundDefaultStatement::AddStatement , cmajor::binder::BoundNode::GetBoundNodeType , cmajor::binder::BoundNode::GetSpan , cmajor::binder::BoundNode::ModuleId , cmajor::binder::BoundStatement::SetParent

Called by: cmajor::binder::BoundDefaultStatement::AddStatement


CompoundStatement Member Function

BoundCompoundStatement * cmajor::binder::BoundDefaultStatement::CompoundStatement()

Definition at line 210 of BoundStatement.hpp :
210 { return compoundStatement.get(); }

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


top | up | prev | next