top
|
up
|
prev
|
next
CharNode Class
Definition at line
115
of
BasicType.hpp
Constructors
CharNode
(
const
Span& span_)
Member Functions
void
Accept
(
Visitor
& visitor)
override
Node
*
Clone
(
CloneContext
& cloneContext)
const override
std::string
ToString
()
const override
Constructor Details
CharNode Constructor
sngcm::ast::CharNode::CharNode(
const
Span& span_)
Definition at line
165
of
BasicType.cpp
:
165
:
Node
(
NodeType
::
charNode
,
span_
)
166
{
167
}
Declaration at line
118
of
BasicType.hpp
Member Function Details
Accept Member Function
void
sngcm::ast::CharNode::Accept(
Visitor
& visitor)
override
Definition at line
174
of
BasicType.cpp
:
175
{
176
visitor
.
Visit
(
*
this
)
;
177
}
Declaration at line
120
of
BasicType.hpp
Base class overridden functions:
sngcm::ast::Node::Accept
Calls:
sngcm::ast::Visitor::Visit
Clone Member Function
Node
* sngcm::ast::CharNode::Clone(
CloneContext
& cloneContext)
const override
Definition at line
169
of
BasicType.cpp
:
170
{
171
return
new
CharNode
(
GetSpan
(
)
)
;
172
}
Declaration at line
119
of
BasicType.hpp
Base class overridden functions:
sngcm::ast::Node::Clone
Calls:
sngcm::ast::Node::GetSpan
ToString Member Function
std::string sngcm::ast::CharNode::ToString()
const override
Definition at line
121
of
BasicType.hpp
:
121
{
return
"char"
;
}
Base class overridden functions:
sngcm::ast::Node::ToString
top
|
up
|
prev
|
next