top
|
up
|
prev
|
next
PrefixIncrementNode Class
Definition at line
275
of
Expression.hpp
Constructors
PrefixIncrementNode
(
const
Span& span_)
PrefixIncrementNode
(
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
PrefixIncrementNode Constructor
sngcm::ast::PrefixIncrementNode::PrefixIncrementNode(
const
Span& span_)
Definition at line
615
of
Expression.cpp
:
615
:
UnaryNode
(
NodeType
::
prefixIncrementNode
,
span_
)
616
{
617
}
Declaration at line
278
of
Expression.hpp
PrefixIncrementNode Constructor
sngcm::ast::PrefixIncrementNode::PrefixIncrementNode(
const
Span& span_,
Node
* subject_)
Definition at line
619
of
Expression.cpp
:
619
:
UnaryNode
(
NodeType
::
prefixIncrementNode
,
span_
,
subject_
)
620
{
621
}
Declaration at line
279
of
Expression.hpp
Member Function Details
Accept Member Function
void
sngcm::ast::PrefixIncrementNode::Accept(
Visitor
& visitor)
override
Definition at line
628
of
Expression.cpp
:
629
{
630
visitor
.
Visit
(
*
this
)
;
631
}
Declaration at line
281
of
Expression.hpp
Base class overridden functions:
sngcm::ast::Node::Accept
Calls:
sngcm::ast::Visitor::Visit
Clone Member Function
Node
* sngcm::ast::PrefixIncrementNode::Clone(
CloneContext
& cloneContext)
const override
Definition at line
623
of
Expression.cpp
:
624
{
625
return
new
PrefixIncrementNode
(
GetSpan
(
)
,
Subject
(
)
->
Clone
(
cloneContext
)
)
;
626
}
Declaration at line
280
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::PrefixIncrementNode::ToString()
const override
Definition at line
633
of
Expression.cpp
:
634
{
635
return
"++"
+
Subject
(
)
->
ToString
(
)
;
636
}
Declaration at line
282
of
Expression.hpp
Base class overridden functions:
sngcm::ast::Node::ToString
Calls:
sngcm::ast::Node::ToString
,
sngcm::ast::UnaryNode::Subject
top
|
up
|
prev
|
next