top | up | prev | next

StatementNode Abstract Class

Definition at line 29 of Statement.hpp

Constructors

StatementNode(NodeType nodeType_, const Span& span_, const boost::uuids::uuid& moduleId_)

Member Functions

bool IsBreakEnclosingStatementNode() const virtual
bool IsCaseTerminatingNode() const virtual
bool IsContinueEnclosingStatementNode() const virtual
bool IsDefaultTerminatingNode() const virtual
bool IsFunctionTerminatingNode() const virtual
bool IsStatementNode() const override
void Read(AstReader& reader) override
void Write(AstWriter& writer) override

Constructor Details

StatementNode Constructor

sngcm::ast::StatementNode::StatementNode(NodeType nodeType_, const Span& span_, const boost::uuids::uuid& moduleId_)

Definition at line 43 of Statement.cpp :
  43 : Node(nodeType_span_moduleId_)
  44 {
  45 }


Declaration at line 32 of Statement.hpp


Member Function Details

IsBreakEnclosingStatementNode Member Function

bool sngcm::ast::StatementNode::IsBreakEnclosingStatementNode() const virtual

Definition at line 39 of Statement.hpp :
 39 { return false; }

Derived class overrides: sngcm::ast::DoStatementNode::IsBreakEnclosingStatementNode , sngcm::ast::ForStatementNode::IsBreakEnclosingStatementNode , sngcm::ast::RangeForStatementNode::IsBreakEnclosingStatementNode , sngcm::ast::SwitchStatementNode::IsBreakEnclosingStatementNode , sngcm::ast::WhileStatementNode::IsBreakEnclosingStatementNode


IsCaseTerminatingNode Member Function

bool sngcm::ast::StatementNode::IsCaseTerminatingNode() const virtual

Definition at line 37 of Statement.hpp :
 37 { return false; }

Derived class overrides: sngcm::ast::BreakStatementNode::IsCaseTerminatingNode , sngcm::ast::ContinueStatementNode::IsCaseTerminatingNode , sngcm::ast::GotoCaseStatementNode::IsCaseTerminatingNode , sngcm::ast::GotoDefaultStatementNode::IsCaseTerminatingNode , sngcm::ast::ReturnStatementNode::IsCaseTerminatingNode , sngcm::ast::ThrowStatementNode::IsCaseTerminatingNode


IsContinueEnclosingStatementNode Member Function

bool sngcm::ast::StatementNode::IsContinueEnclosingStatementNode() const virtual

Definition at line 40 of Statement.hpp :
 40 { return false; }

Derived class overrides: sngcm::ast::DoStatementNode::IsContinueEnclosingStatementNode , sngcm::ast::ForStatementNode::IsContinueEnclosingStatementNode , sngcm::ast::RangeForStatementNode::IsContinueEnclosingStatementNode , sngcm::ast::WhileStatementNode::IsContinueEnclosingStatementNode


IsDefaultTerminatingNode Member Function

bool sngcm::ast::StatementNode::IsDefaultTerminatingNode() const virtual

Definition at line 38 of Statement.hpp :
 38 { return false; }

Derived class overrides: sngcm::ast::BreakStatementNode::IsDefaultTerminatingNode , sngcm::ast::ContinueStatementNode::IsDefaultTerminatingNode , sngcm::ast::GotoCaseStatementNode::IsDefaultTerminatingNode , sngcm::ast::ReturnStatementNode::IsDefaultTerminatingNode , sngcm::ast::ThrowStatementNode::IsDefaultTerminatingNode


IsFunctionTerminatingNode Member Function

bool sngcm::ast::StatementNode::IsFunctionTerminatingNode() const virtual

Definition at line 36 of Statement.hpp :
 36 { return false; }

Derived class overrides: sngcm::ast::ReturnStatementNode::IsFunctionTerminatingNode , sngcm::ast::ThrowStatementNode::IsFunctionTerminatingNode


IsStatementNode Member Function

bool sngcm::ast::StatementNode::IsStatementNode() const override

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

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


Read Member Function

void sngcm::ast::StatementNode::Read(AstReader & reader) override

Definition at line 52 of Statement.cpp :
  53 {
  54     Node::Read(reader);
  55 }


Declaration at line 34 of Statement.hpp

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

Derived class overrides: sngcm::ast::AssertStatementNode::Read , sngcm::ast::AssignmentStatementNode::Read , sngcm::ast::CaseStatementNode::Read , sngcm::ast::CompoundStatementNode::Read , sngcm::ast::ConditionalCompilationStatementNode::Read , sngcm::ast::ConstructionStatementNode::Read , sngcm::ast::DefaultStatementNode::Read , sngcm::ast::DeleteStatementNode::Read , sngcm::ast::DestroyStatementNode::Read , sngcm::ast::DoStatementNode::Read , sngcm::ast::ExpressionStatementNode::Read , sngcm::ast::ForStatementNode::Read , sngcm::ast::GotoCaseStatementNode::Read , sngcm::ast::GotoStatementNode::Read , sngcm::ast::IfStatementNode::Read , sngcm::ast::LabeledStatementNode::Read , sngcm::ast::RangeForStatementNode::Read , sngcm::ast::ReturnStatementNode::Read , sngcm::ast::SwitchStatementNode::Read , sngcm::ast::ThrowStatementNode::Read , sngcm::ast::TryStatementNode::Read , sngcm::ast::WhileStatementNode::Read

Calls: sngcm::ast::Node::Read

Called by: sngcm::ast::AssertStatementNode::Read , sngcm::ast::AssignmentStatementNode::Read , sngcm::ast::CaseStatementNode::Read , sngcm::ast::CompoundStatementNode::Read , sngcm::ast::ConditionalCompilationStatementNode::Read , sngcm::ast::ConstructionStatementNode::Read , sngcm::ast::DefaultStatementNode::Read , sngcm::ast::DeleteStatementNode::Read , sngcm::ast::DestroyStatementNode::Read , sngcm::ast::DoStatementNode::Read , sngcm::ast::ExpressionStatementNode::Read , sngcm::ast::ForStatementNode::Read , sngcm::ast::GotoCaseStatementNode::Read , sngcm::ast::GotoStatementNode::Read , sngcm::ast::IfStatementNode::Read , sngcm::ast::LabeledStatementNode::Read , sngcm::ast::RangeForStatementNode::Read , sngcm::ast::ReturnStatementNode::Read , sngcm::ast::SwitchStatementNode::Read , sngcm::ast::ThrowStatementNode::Read , sngcm::ast::TryStatementNode::Read , sngcm::ast::WhileStatementNode::Read


Write Member Function

void sngcm::ast::StatementNode::Write(AstWriter & writer) override

Definition at line 47 of Statement.cpp :
  48 {
  49     Node::Write(writer);
  50 }


Declaration at line 33 of Statement.hpp

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

Derived class overrides: sngcm::ast::AssertStatementNode::Write , sngcm::ast::AssignmentStatementNode::Write , sngcm::ast::CaseStatementNode::Write , sngcm::ast::CompoundStatementNode::Write , sngcm::ast::ConditionalCompilationStatementNode::Write , sngcm::ast::ConstructionStatementNode::Write , sngcm::ast::DefaultStatementNode::Write , sngcm::ast::DeleteStatementNode::Write , sngcm::ast::DestroyStatementNode::Write , sngcm::ast::DoStatementNode::Write , sngcm::ast::ExpressionStatementNode::Write , sngcm::ast::ForStatementNode::Write , sngcm::ast::GotoCaseStatementNode::Write , sngcm::ast::GotoStatementNode::Write , sngcm::ast::IfStatementNode::Write , sngcm::ast::LabeledStatementNode::Write , sngcm::ast::RangeForStatementNode::Write , sngcm::ast::ReturnStatementNode::Write , sngcm::ast::SwitchStatementNode::Write , sngcm::ast::ThrowStatementNode::Write , sngcm::ast::TryStatementNode::Write , sngcm::ast::WhileStatementNode::Write

Calls: sngcm::ast::Node::Write

Called by: sngcm::ast::AssertStatementNode::Write , sngcm::ast::AssignmentStatementNode::Write , sngcm::ast::CaseStatementNode::Write , sngcm::ast::CompoundStatementNode::Write , sngcm::ast::ConditionalCompilationStatementNode::Write , sngcm::ast::ConstructionStatementNode::Write , sngcm::ast::DefaultStatementNode::Write , sngcm::ast::DeleteStatementNode::Write , sngcm::ast::DestroyStatementNode::Write , sngcm::ast::DoStatementNode::Write , sngcm::ast::ExpressionStatementNode::Write , sngcm::ast::ForStatementNode::Write , sngcm::ast::GotoCaseStatementNode::Write , sngcm::ast::GotoStatementNode::Write , sngcm::ast::IfStatementNode::Write , sngcm::ast::LabeledStatementNode::Write , sngcm::ast::RangeForStatementNode::Write , sngcm::ast::ReturnStatementNode::Write , sngcm::ast::SwitchStatementNode::Write , sngcm::ast::ThrowStatementNode::Write , sngcm::ast::TryStatementNode::Write , sngcm::ast::WhileStatementNode::Write


top | up | prev | next