top | up | prev | next

LongNode Class

Definition at line 79 of BasicType.hpp

Constructors

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

Member Functions

void Accept(Visitor& visitor) override
Node* Clone(CloneContext& cloneContext) const override
std::string ToString() const override

Constructor Details

LongNode Constructor

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

Definition at line 116 of BasicType.cpp :
116 : Node(NodeType::longNodespan_moduleId_)
117 {
118 }


Declaration at line 82 of BasicType.hpp


Member Function Details

Accept Member Function

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

Definition at line 126 of BasicType.cpp :
127 {
128     visitor.Visit(*this);
129 }


Declaration at line 84 of BasicType.hpp

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

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


Clone Member Function

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

Definition at line 120 of BasicType.cpp :
121 {
122     LongNode* clone = new LongNode(GetSpan()ModuleId());
123     return clone;
124 }


Declaration at line 83 of BasicType.hpp

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

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


ToString Member Function

std::string sngcm::ast::LongNode::ToString() const override

Definition at line 85 of BasicType.hpp :
 85 { return "long"; }

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


top | up | prev | next