top | up | prev | next

LongNode Class

Definition at line 78 of BasicType.hpp

Constructors

LongNode(const Span& span_)

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

Definition at line 109 of BasicType.cpp :
109 : Node(NodeType::longNodespan_)
110 {
111 }


Declaration at line 81 of BasicType.hpp


Member Function Details

Accept Member Function

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

Definition at line 118 of BasicType.cpp :
119 {
120     visitor.Visit(*this);
121 }


Declaration at line 83 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 113 of BasicType.cpp :
114 {
115     return new LongNode(GetSpan());
116 }


Declaration at line 82 of BasicType.hpp

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

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


ToString Member Function

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

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

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


top | up | prev | next