top
|
up
|
prev
|
next
FloatNode Class
Definition at line
98
of
BasicType.hpp
Constructors
FloatNode
(
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
FloatNode Constructor
sngcm::ast::FloatNode::FloatNode(
const
Span& span_,
const
boost::uuids::uuid& moduleId_)
Definition at line
146
of
BasicType.cpp
:
146
:
Node
(
NodeType
::
floatNode
,
span_
,
moduleId_
)
147
{
148
}
Declaration at line
101
of
BasicType.hpp
Member Function Details
Accept Member Function
void
sngcm::ast::FloatNode::Accept(
Visitor
& visitor)
override
Definition at line
156
of
BasicType.cpp
:
157
{
158
visitor
.
Visit
(
*
this
)
;
159
}
Declaration at line
103
of
BasicType.hpp
Base class overridden functions:
sngcm::ast::Node::Accept
Calls:
sngcm::ast::Visitor::Visit
Clone Member Function
Node
* sngcm::ast::FloatNode::Clone(
CloneContext
& cloneContext)
const override
Definition at line
150
of
BasicType.cpp
:
151
{
152
FloatNode
*
clone
=
new
FloatNode
(
GetSpan
(
)
,
ModuleId
(
)
)
;
153
return
clone
;
154
}
Declaration at line
102
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::FloatNode::ToString()
const override
Definition at line
104
of
BasicType.hpp
:
104
{
return
"float"
;
}
Base class overridden functions:
sngcm::ast::Node::ToString
top
|
up
|
prev
|
next