top | up | prev | next

UShortNode Class

Definition at line 50 of BasicType.hpp

Constructors

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

UShortNode Constructor

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

Definition at line 71 of BasicType.cpp :
 71 : Node(NodeType::ushortNodespan_moduleId_)
 72 {
 73 }


Declaration at line 53 of BasicType.hpp


Member Function Details

Accept Member Function

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

Definition at line 81 of BasicType.cpp :
 82 {
 83     visitor.Visit(*this);
 84 }


Declaration at line 55 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 75 of BasicType.cpp :
 76 {
 77     UShortNode* clone = new UShortNode(GetSpan()ModuleId());
 78     return clone;
 79 }


Declaration at line 54 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::UShortNode::IsUnsignedTypeNode() const override

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

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


ToString Member Function

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

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

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


top | up | prev | next