top | up | prev | next

VoidNode Class

Definition at line 143 of BasicType.hpp

Constructors

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

VoidNode Constructor

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

Definition at line 221 of BasicType.cpp :
221 : Node(NodeType::voidNodespan_moduleId_)
222 {
223 }


Declaration at line 146 of BasicType.hpp


Member Function Details

Accept Member Function

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

Definition at line 231 of BasicType.cpp :
232 {
233     visitor.Visit(*this);
234 }


Declaration at line 148 of BasicType.hpp

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

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


Clone Member Function

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

Definition at line 225 of BasicType.cpp :
226 {
227     VoidNode* clone = new VoidNode(GetSpan()ModuleId());
228     return clone;
229 }


Declaration at line 147 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::VoidNode::ToString() const override

Definition at line 149 of BasicType.hpp :
149 { return "void"; }

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


top | up | prev | next