top
|
up
|
prev
|
next
BaseInitializerNode Class
Definition at line
78
of
Class.hpp
Constructors
BaseInitializerNode
(
const
Span& span_,
const
boost::uuids::uuid& moduleId_)
Member Functions
void
Accept
(
Visitor
& visitor)
override
Node
*
Clone
(
CloneContext
& cloneContext)
const override
Constructor Details
BaseInitializerNode Constructor
sngcm::ast::BaseInitializerNode::BaseInitializerNode(
const
Span& span_,
const
boost::uuids::uuid& moduleId_)
Definition at line
254
of
Class.cpp
:
254
:
InitializerNode
(
NodeType
::
baseInitializerNode
,
span_
,
moduleId_
)
255
{
256
}
Declaration at line
81
of
Class.hpp
Member Function Details
Accept Member Function
void
sngcm::ast::BaseInitializerNode::Accept(
Visitor
& visitor)
override
Definition at line
269
of
Class.cpp
:
270
{
271
visitor
.
Visit
(
*
this
)
;
272
}
Declaration at line
83
of
Class.hpp
Base class overridden functions:
sngcm::ast::Node::Accept
Calls:
sngcm::ast::Visitor::Visit
Clone Member Function
Node
* sngcm::ast::BaseInitializerNode::Clone(
CloneContext
& cloneContext)
const override
Definition at line
258
of
Class.cpp
:
259
{
260
BaseInitializerNode
*
clone
=
new
BaseInitializerNode
(
GetSpan
(
)
,
ModuleId
(
)
)
;
261
int
n
=
Arguments
(
)
.
Count
(
)
;
262
for
(
int
i
=
0
;
i
<
n
;
++
i
)
263
{
264
clone
->
AddArgument
(
Arguments
(
)
[
i
]
->
Clone
(
cloneContext
)
)
;
265
}
266
return
clone
;
267
}
Declaration at line
82
of
Class.hpp
Base class overridden functions:
sngcm::ast::Node::Clone
Calls:
sngcm::ast::BaseInitializerNode::Clone
,
sngcm::ast::InitializerNode::AddArgument
,
sngcm::ast::InitializerNode::Arguments
,
sngcm::ast::Node::GetSpan
,
sngcm::ast::Node::ModuleId
,
sngcm::ast::NodeList::Count
Called by:
sngcm::ast::BaseInitializerNode::Clone
top
|
up
|
prev
|
next