top
|
up
|
prev
|
next
PostfixIncrementNode Class
Definition at line
401
of
Expression.hpp
Constructors
PostfixIncrementNode
(
const
Span& span_)
PostfixIncrementNode
(
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
PostfixIncrementNode Constructor
sngcm::ast::PostfixIncrementNode::PostfixIncrementNode(
const
Span& span_)
Definition at line
918
of
Expression.cpp
:
918
:
UnaryNode
(
NodeType
::
postfixIncrementNode
,
span_
)
919
{
920
}
Declaration at line
404
of
Expression.hpp
PostfixIncrementNode Constructor
sngcm::ast::PostfixIncrementNode::PostfixIncrementNode(
const
Span& span_,
Node
* subject_)
Definition at line
922
of
Expression.cpp
:
922
:
UnaryNode
(
NodeType
::
postfixIncrementNode
,
span_
,
subject_
)
923
{
924
}
Declaration at line
405
of
Expression.hpp
Member Function Details
Accept Member Function
void
sngcm::ast::PostfixIncrementNode::Accept(
Visitor
& visitor)
override
Definition at line
931
of
Expression.cpp
:
932
{
933
visitor
.
Visit
(
*
this
)
;
934
}
Declaration at line
407
of
Expression.hpp
Base class overridden functions:
sngcm::ast::Node::Accept
Calls:
sngcm::ast::Visitor::Visit
Clone Member Function
Node
* sngcm::ast::PostfixIncrementNode::Clone(
CloneContext
& cloneContext)
const override
Definition at line
926
of
Expression.cpp
:
927
{
928
return
new
PostfixIncrementNode
(
GetSpan
(
)
,
Subject
(
)
->
Clone
(
cloneContext
)
)
;
929
}
Declaration at line
406
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::PostfixIncrementNode::ToString()
const override
Definition at line
936
of
Expression.cpp
:
937
{
938
return
Subject
(
)
->
ToString
(
)
+
"++"
;
939
}
Declaration at line
408
of
Expression.hpp
Base class overridden functions:
sngcm::ast::Node::ToString
Calls:
sngcm::ast::Node::ToString
,
sngcm::ast::UnaryNode::Subject
top
|
up
|
prev
|
next