top
|
up
|
prev
|
next
DerefNode Class
Definition at line
305
of
Expression.hpp
Constructors
DerefNode
(
const
Span& span_)
DerefNode
(
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
DerefNode Constructor
sngcm::ast::DerefNode::DerefNode(
const
Span& span_)
Definition at line
684
of
Expression.cpp
:
684
:
UnaryNode
(
NodeType
::
derefNode
,
span_
)
685
{
686
}
Declaration at line
308
of
Expression.hpp
DerefNode Constructor
sngcm::ast::DerefNode::DerefNode(
const
Span& span_,
Node
* subject_)
Definition at line
688
of
Expression.cpp
:
688
:
UnaryNode
(
NodeType
::
derefNode
,
span_
,
subject_
)
689
{
690
}
Declaration at line
309
of
Expression.hpp
Member Function Details
Accept Member Function
void
sngcm::ast::DerefNode::Accept(
Visitor
& visitor)
override
Definition at line
697
of
Expression.cpp
:
698
{
699
visitor
.
Visit
(
*
this
)
;
700
}
Declaration at line
311
of
Expression.hpp
Base class overridden functions:
sngcm::ast::Node::Accept
Calls:
sngcm::ast::Visitor::Visit
Clone Member Function
Node
* sngcm::ast::DerefNode::Clone(
CloneContext
& cloneContext)
const override
Definition at line
692
of
Expression.cpp
:
693
{
694
return
new
DerefNode
(
GetSpan
(
)
,
Subject
(
)
->
Clone
(
cloneContext
)
)
;
695
}
Declaration at line
310
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::DerefNode::ToString()
const override
Definition at line
702
of
Expression.cpp
:
703
{
704
return
"*"
+
Subject
(
)
->
ToString
(
)
;
705
}
Declaration at line
312
of
Expression.hpp
Base class overridden functions:
sngcm::ast::Node::ToString
Calls:
sngcm::ast::Node::ToString
,
sngcm::ast::UnaryNode::Subject
top
|
up
|
prev
|
next