top | up | prev | next

UShortNode Class

Definition at line 49 of BasicType.hpp

Constructors

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

UShortNode Constructor

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

Definition at line 67 of BasicType.cpp :
 67 : Node(NodeType::ushortNodespan_)
 68 {
 69 }


Declaration at line 52 of BasicType.hpp


Member Function Details

Accept Member Function

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

Definition at line 76 of BasicType.cpp :
 77 {
 78     visitor.Visit(*this);
 79 }


Declaration at line 54 of BasicType.hpp

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

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


Clone Member Function

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

Definition at line 71 of BasicType.cpp :
 72 {
 73     return new UShortNode(GetSpan());
 74 }


Declaration at line 53 of BasicType.hpp

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

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


IsUnsignedTypeNode Member Function

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

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

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


ToString Member Function

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

Definition at line 56 of BasicType.hpp :
 56 { return "ushort"; }

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


top | up | prev | next