top
|
up
|
prev
|
next
DoubleNode Class
Definition at line
107
of
BasicType.hpp
Constructors
DoubleNode
(
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
DoubleNode Constructor
sngcm::ast::DoubleNode::DoubleNode(
const
Span& span_,
const
boost::uuids::uuid& moduleId_)
Definition at line
161
of
BasicType.cpp
:
161
:
Node
(
NodeType
::
doubleNode
,
span_
,
moduleId_
)
162
{
163
}
Declaration at line
110
of
BasicType.hpp
Member Function Details
Accept Member Function
void
sngcm::ast::DoubleNode::Accept(
Visitor
& visitor)
override
Definition at line
171
of
BasicType.cpp
:
172
{
173
visitor
.
Visit
(
*
this
)
;
174
}
Declaration at line
112
of
BasicType.hpp
Base class overridden functions:
sngcm::ast::Node::Accept
Calls:
sngcm::ast::Visitor::Visit
Clone Member Function
Node
* sngcm::ast::DoubleNode::Clone(
CloneContext
& cloneContext)
const override
Definition at line
165
of
BasicType.cpp
:
166
{
167
DoubleNode
*
clone
=
new
DoubleNode
(
GetSpan
(
)
,
ModuleId
(
)
)
;
168
return
clone
;
169
}
Declaration at line
111
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::DoubleNode::ToString()
const override
Definition at line
113
of
BasicType.hpp
:
113
{
return
"double"
;
}
Base class overridden functions:
sngcm::ast::Node::ToString
top
|
up
|
prev
|
next