top | up | prev | next

GotoDefaultStatementNode Class

Definition at line 484 of Statement.hpp

Constructors

GotoDefaultStatementNode(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

Constructor Details

GotoDefaultStatementNode Constructor

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

Definition at line 1031 of Statement.cpp :
1031 : StatementNode(NodeType::gotoDefaultStatementNodespan_moduleId_)
1032 {
1033 }


Declaration at line 487 of Statement.hpp


Member Function Details

Accept Member Function

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

Definition at line 1041 of Statement.cpp :
1042 {
1043     visitor.Visit(*this);
1044 }


Declaration at line 489 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 1035 of Statement.cpp :
1036 {
1037     GotoDefaultStatementNode* clone = new GotoDefaultStatementNode(GetSpan()ModuleId());
1038     return clone;
1039 }


Declaration at line 488 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::GotoDefaultStatementNode::IsCaseTerminatingNode() const override

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

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


top | up | prev | next