top | up | prev | next

UIntNode Class

Definition at line 68 of BasicType.hpp

Constructors

UIntNode(const Span& span_)

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

Definition at line 95 of BasicType.cpp :
 95 : Node(NodeType::uintNodespan_)
 96 {
 97 }


Declaration at line 71 of BasicType.hpp


Member Function Details

Accept Member Function

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

Definition at line 104 of BasicType.cpp :
105 {
106     visitor.Visit(*this);
107 }


Declaration at line 73 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 99 of BasicType.cpp :
100 {
101     return new UIntNode(GetSpan());
102 }


Declaration at line 72 of BasicType.hpp

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

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


IsUnsignedTypeNode Member Function

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

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

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


ToString Member Function

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

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

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


top | up | prev | next