top | up | prev | next

BoundThrowStatement Class

Definition at line 325 of BoundStatement.hpp

Constructors

BoundThrowStatement(const Span& span_, const boost::uuids::uuid& moduleId_, std::unique_ptr<BoundExpression>&& throwCallExpr_)

Member Functions

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

Member Variables

std::unique_ptr<BoundExpression> throwCallExpr

Constructor Details

BoundThrowStatement Constructor

cmajor::binder::BoundThrowStatement::BoundThrowStatement(const Span& span_, const boost::uuids::uuid& moduleId_, std::unique_ptr<BoundExpression >&& throwCallExpr_)

Definition at line 342 of BoundStatement.cpp :
342 :
343 BoundStatement(span_moduleId_BoundNodeType::boundThrowStatement)throwCallExpr(std::move(throwCallExpr_))
344 {
345 }


Declaration at line 328 of BoundStatement.hpp


Member Function Details

Accept Member Function

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

Definition at line 347 of BoundStatement.cpp :
348 {
349     visitor.Visit(*this);
350 }


Declaration at line 329 of BoundStatement.hpp

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

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


ThrowCallExpr Member Function

BoundExpression * cmajor::binder::BoundThrowStatement::ThrowCallExpr()

Definition at line 330 of BoundStatement.hpp :
330 { return throwCallExpr.get(); }


top | up | prev | next