top
|
up
|
prev
|
next
AddrOfNode Class
Definition at line
315
of
Expression.hpp
Constructors
AddrOfNode
(
const
Span& span_)
AddrOfNode
(
const
Span& span_,
Node
* subject_)
Member Functions
void
Accept
(
Visitor
& visitor)
override
Node
*
Clone
(
CloneContext
& cloneContext)
const override
std::string
ToString
()
const override
Constructor Details
AddrOfNode Constructor
sngcm::ast::AddrOfNode::AddrOfNode(
const
Span& span_)
Definition at line
707
of
Expression.cpp
:
707
:
UnaryNode
(
NodeType
::
addrOfNode
,
span_
)
708
{
709
}
Declaration at line
318
of
Expression.hpp
AddrOfNode Constructor
sngcm::ast::AddrOfNode::AddrOfNode(
const
Span& span_,
Node
* subject_)
Definition at line
711
of
Expression.cpp
:
711
:
UnaryNode
(
NodeType
::
addrOfNode
,
span_
,
subject_
)
712
{
713
}
Declaration at line
319
of
Expression.hpp
Member Function Details
Accept Member Function
void
sngcm::ast::AddrOfNode::Accept(
Visitor
& visitor)
override
Definition at line
720
of
Expression.cpp
:
721
{
722
visitor
.
Visit
(
*
this
)
;
723
}
Declaration at line
321
of
Expression.hpp
Base class overridden functions:
sngcm::ast::Node::Accept
Calls:
sngcm::ast::Visitor::Visit
Clone Member Function
Node
* sngcm::ast::AddrOfNode::Clone(
CloneContext
& cloneContext)
const override
Definition at line
715
of
Expression.cpp
:
716
{
717
return
new
AddrOfNode
(
GetSpan
(
)
,
Subject
(
)
->
Clone
(
cloneContext
)
)
;
718
}
Declaration at line
320
of
Expression.hpp
Base class overridden functions:
sngcm::ast::Node::Clone
Calls:
sngcm::ast::Node::Clone
,
sngcm::ast::Node::GetSpan
,
sngcm::ast::UnaryNode::Subject
ToString Member Function
std::string sngcm::ast::AddrOfNode::ToString()
const override
Definition at line
725
of
Expression.cpp
:
726
{
727
return
"&"
+
Subject
(
)
->
ToString
(
)
;
728
}
Declaration at line
322
of
Expression.hpp
Base class overridden functions:
sngcm::ast::Node::ToString
Calls:
sngcm::ast::Node::ToString
,
sngcm::ast::UnaryNode::Subject
top
|
up
|
prev
|
next