top | up | prev | next

SByteNode Class

Definition at line 21 of BasicType.hpp

Constructors

SByteNode(const Span& span_)

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

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


Declaration at line 24 of BasicType.hpp


Member Function Details

Accept Member Function

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

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


Declaration at line 26 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 29 of BasicType.cpp :
 30 {
 31     return new SByteNode(GetSpan());
 32 }


Declaration at line 25 of BasicType.hpp

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

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


ToString Member Function

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

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

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


top | up | prev | next