top | up | prev | next

GotoDefaultStatementNode Class

Definition at line 472 of Statement.hpp

Constructors

GotoDefaultStatementNode(const Span& span_)

Member Functions

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

Constructor Details

GotoDefaultStatementNode Constructor

sngcm::ast::GotoDefaultStatementNode::GotoDefaultStatementNode(const Span& span_)

Definition at line 972 of Statement.cpp :
 972 : StatementNode(NodeType::gotoDefaultStatementNodespan_)
 973 {
 974 }


Declaration at line 475 of Statement.hpp


Member Function Details

Accept Member Function

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

Definition at line 982 of Statement.cpp :
 983 {
 984     visitor.Visit(*this);
 985 }


Declaration at line 477 of Statement.hpp

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

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


Clone Member Function

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

Definition at line 976 of Statement.cpp :
 977 {
 978     GotoDefaultStatementNode* clone = new GotoDefaultStatementNode(GetSpan());
 979     return clone;
 980 }


Declaration at line 476 of Statement.hpp

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

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


IsCaseTerminatingNode Member Function

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

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

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


top | up | prev | next