top | up | prev | next

BreakStatementNode Class

Definition at line 216 of Statement.hpp

Constructors

BreakStatementNode(const Span& span_)

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_)

Definition at line 423 of Statement.cpp :
 423 : StatementNode(NodeType::breakStatementNodespan_)
 424 {
 425 }


Declaration at line 219 of Statement.hpp


Member Function Details

Accept Member Function

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

Definition at line 433 of Statement.cpp :
 434 {
 435     visitor.Visit(*this);
 436 }


Declaration at line 221 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 427 of Statement.cpp :
 428 {
 429     BreakStatementNode* clone = new BreakStatementNode(GetSpan());
 430     return clone;
 431 }


Declaration at line 220 of Statement.hpp

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

Calls: sngcm::ast::Node::GetSpan


IsCaseTerminatingNode Member Function

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

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

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


IsDefaultTerminatingNode Member Function

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

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

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


top | up | prev | next