top | up | prev | next

FloatNode Class

Definition at line 97 of BasicType.hpp

Constructors

FloatNode(const Span& span_)

Member Functions

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

Constructor Details

FloatNode Constructor

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

Definition at line 137 of BasicType.cpp :
137 : Node(NodeType::floatNodespan_)
138 {
139 }


Declaration at line 100 of BasicType.hpp


Member Function Details

Accept Member Function

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

Definition at line 146 of BasicType.cpp :
147 {
148     visitor.Visit(*this);
149 }


Declaration at line 102 of BasicType.hpp

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

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


Clone Member Function

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

Definition at line 141 of BasicType.cpp :
142 {
143     return new FloatNode(GetSpan());
144 }


Declaration at line 101 of BasicType.hpp

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

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


ToString Member Function

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

Definition at line 103 of BasicType.hpp :
103 { return "float"; }

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


top | up | prev | next