top | up | prev | next

WCharNode Class

Definition at line 124 of BasicType.hpp

Constructors

WCharNode(const Span& span_)

Member Functions

void Accept(Visitor& visitor) override
Node* Clone(CloneContext& cloneContext) const override
std::string ToString() const override

Constructor Details

WCharNode Constructor

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

Definition at line 179 of BasicType.cpp :
179 : Node(NodeType::wcharNodespan_)
180 {
181 }


Declaration at line 127 of BasicType.hpp


Member Function Details

Accept Member Function

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

Definition at line 188 of BasicType.cpp :
189 {
190     visitor.Visit(*this);
191 }


Declaration at line 129 of BasicType.hpp

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

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


Clone Member Function

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

Definition at line 183 of BasicType.cpp :
184 {
185     return new WCharNode(GetSpan());
186 }


Declaration at line 128 of BasicType.hpp

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

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


ToString Member Function

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

Definition at line 130 of BasicType.hpp :
130 { return "wchar"; }

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


top | up | prev | next