top | up | prev | next

NullLiteralNode Class

Definition at line 286 of Literal.hpp

Constructors

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

NullLiteralNode Constructor

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

Definition at line 758 of Literal.cpp :
758 :
759 LiteralNode(NodeType::nullLiteralNodespan_moduleId_)
760 {
761 }


Declaration at line 289 of Literal.hpp


Member Function Details

Accept Member Function

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

Definition at line 769 of Literal.cpp :
770 {
771     visitor.Visit(*this);
772 }


Declaration at line 291 of Literal.hpp

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

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


Clone Member Function

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

Definition at line 763 of Literal.cpp :
764 {
765     NullLiteralNode* clone = new NullLiteralNode(GetSpan()ModuleId());
766     return clone;
767 }


Declaration at line 290 of Literal.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::NullLiteralNode::ToString() const override

Definition at line 292 of Literal.hpp :
292 { return "null"; }

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


top | up | prev | next