top | up | prev | next

BreakStatementNode Class

Definition at line 228 of Statement.hpp

Constructors

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

Member Functions

void Accept(Visitor& visitor) override
Node* Clone(CloneContext& cloneContext) const override
bool IsCaseTerminatingNode() const override
bool IsDefaultTerminatingNode() const override

Constructor Details

BreakStatementNode Constructor

sngcm::ast::BreakStatementNode::BreakStatementNode(const Span& span_, const boost::uuids::uuid& moduleId_)

Definition at line 458 of Statement.cpp :
 458 : StatementNode(NodeType::breakStatementNodespan_moduleId_)
 459 {
 460 }


Declaration at line 231 of Statement.hpp


Member Function Details

Accept Member Function

void sngcm::ast::BreakStatementNode::Accept(Visitor & visitor) override

Definition at line 468 of Statement.cpp :
 469 {
 470     visitor.Visit(*this);
 471 }


Declaration at line 233 of Statement.hpp

Base class overridden functions: sngcm::ast::Node::Accept

Calls: sngcm::ast::Visitor::Visit


Clone Member Function

Node * sngcm::ast::BreakStatementNode::Clone(CloneContext & cloneContext) const override

Definition at line 462 of Statement.cpp :
 463 {
 464     BreakStatementNode* clone = new BreakStatementNode(GetSpan()ModuleId());
 465     return clone;
 466 }


Declaration at line 232 of Statement.hpp

Base class overridden functions: sngcm::ast::Node::Clone

Calls: sngcm::ast::Node::GetSpan , sngcm::ast::Node::ModuleId


IsCaseTerminatingNode Member Function

bool sngcm::ast::BreakStatementNode::IsCaseTerminatingNode() const override

Definition at line 234 of Statement.hpp :
234 { return true; }

Base class overridden functions: sngcm::ast::StatementNode::IsCaseTerminatingNode


IsDefaultTerminatingNode Member Function

bool sngcm::ast::BreakStatementNode::IsDefaultTerminatingNode() const override

Definition at line 235 of Statement.hpp :
235 { return true; }

Base class overridden functions: sngcm::ast::StatementNode::IsDefaultTerminatingNode


top | up | prev | next