top | up | prev | next

UIntNode Class

Definition at line 69 of BasicType.hpp

Constructors

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

Member Functions

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

Constructor Details

UIntNode Constructor

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

Definition at line 101 of BasicType.cpp :
101 : Node(NodeType::uintNodespan_moduleId_)
102 {
103 }


Declaration at line 72 of BasicType.hpp


Member Function Details

Accept Member Function

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

Definition at line 111 of BasicType.cpp :
112 {
113     visitor.Visit(*this);
114 }


Declaration at line 74 of BasicType.hpp

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

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


Clone Member Function

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

Definition at line 105 of BasicType.cpp :
106 {
107     UIntNode* clone = new UIntNode(GetSpan()ModuleId());
108     return clone;
109 }


Declaration at line 73 of BasicType.hpp

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

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


IsUnsignedTypeNode Member Function

bool sngcm::ast::UIntNode::IsUnsignedTypeNode() const override

Definition at line 75 of BasicType.hpp :
 75 { return true; }

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


ToString Member Function

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

Definition at line 76 of BasicType.hpp :
 76 { return "uint"; }

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


top | up | prev | next