top
|
up
|
prev
|
next
ComplementNode Class
Definition at line
295
of
Expression.hpp
Constructors
ComplementNode
(
const
Span& span_)
ComplementNode
(
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
ComplementNode Constructor
sngcm::ast::ComplementNode::ComplementNode(
const
Span& span_)
Definition at line
661
of
Expression.cpp
:
661
:
UnaryNode
(
NodeType
::
complementNode
,
span_
)
662
{
663
}
Declaration at line
298
of
Expression.hpp
ComplementNode Constructor
sngcm::ast::ComplementNode::ComplementNode(
const
Span& span_,
Node
* subject_)
Definition at line
665
of
Expression.cpp
:
665
:
UnaryNode
(
NodeType
::
complementNode
,
span_
,
subject_
)
666
{
667
}
Declaration at line
299
of
Expression.hpp
Member Function Details
Accept Member Function
void
sngcm::ast::ComplementNode::Accept(
Visitor
& visitor)
override
Definition at line
674
of
Expression.cpp
:
675
{
676
visitor
.
Visit
(
*
this
)
;
677
}
Declaration at line
301
of
Expression.hpp
Base class overridden functions:
sngcm::ast::Node::Accept
Calls:
sngcm::ast::Visitor::Visit
Clone Member Function
Node
* sngcm::ast::ComplementNode::Clone(
CloneContext
& cloneContext)
const override
Definition at line
669
of
Expression.cpp
:
670
{
671
return
new
ComplementNode
(
GetSpan
(
)
,
Subject
(
)
->
Clone
(
cloneContext
)
)
;
672
}
Declaration at line
300
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::ComplementNode::ToString()
const override
Definition at line
679
of
Expression.cpp
:
680
{
681
return
"~"
+
Subject
(
)
->
ToString
(
)
;
682
}
Declaration at line
302
of
Expression.hpp
Base class overridden functions:
sngcm::ast::Node::ToString
Calls:
sngcm::ast::Node::ToString
,
sngcm::ast::UnaryNode::Subject
top
|
up
|
prev
|
next