top | up | prev | next

SByteNode Class

Definition at line 22 of BasicType.hpp

Constructors

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

SByteNode Constructor

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

Definition at line 26 of BasicType.cpp :
 26 : Node(NodeType::sbyteNodespan_moduleId_)
 27 {
 28 }


Declaration at line 25 of BasicType.hpp


Member Function Details

Accept Member Function

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

Definition at line 36 of BasicType.cpp :
 37 {
 38     visitor.Visit(*this);
 39 }


Declaration at line 27 of BasicType.hpp

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

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


Clone Member Function

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

Definition at line 30 of BasicType.cpp :
 31 {
 32     SByteNode* clone = new SByteNode(GetSpan()ModuleId());
 33     return clone;
 34 }


Declaration at line 26 of BasicType.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::SByteNode::ToString() const override

Definition at line 28 of BasicType.hpp :
 28 { return "sbyte"; }

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


top | up | prev | next