top
|
up
|
prev
|
next
NotNode Class
Definition at line
245
of
Expression.hpp
Constructors
NotNode
(
const
Span& span_)
NotNode
(
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
NotNode Constructor
sngcm::ast::NotNode::NotNode(
const
Span& span_)
Definition at line
546
of
Expression.cpp
:
546
:
UnaryNode
(
NodeType
::
notNode
,
span_
)
547
{
548
}
Declaration at line
248
of
Expression.hpp
NotNode Constructor
sngcm::ast::NotNode::NotNode(
const
Span& span_,
Node
* subject_)
Definition at line
550
of
Expression.cpp
:
550
:
UnaryNode
(
NodeType
::
notNode
,
span_
,
subject_
)
551
{
552
}
Declaration at line
249
of
Expression.hpp
Member Function Details
Accept Member Function
void
sngcm::ast::NotNode::Accept(
Visitor
& visitor)
override
Definition at line
559
of
Expression.cpp
:
560
{
561
visitor
.
Visit
(
*
this
)
;
562
}
Declaration at line
251
of
Expression.hpp
Base class overridden functions:
sngcm::ast::Node::Accept
Calls:
sngcm::ast::Visitor::Visit
Clone Member Function
Node
* sngcm::ast::NotNode::Clone(
CloneContext
& cloneContext)
const override
Definition at line
554
of
Expression.cpp
:
555
{
556
return
new
NotNode
(
GetSpan
(
)
,
Subject
(
)
->
Clone
(
cloneContext
)
)
;
557
}
Declaration at line
250
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::NotNode::ToString()
const override
Definition at line
564
of
Expression.cpp
:
565
{
566
return
"!"
+
Subject
(
)
->
ToString
(
)
;
567
}
Declaration at line
252
of
Expression.hpp
Base class overridden functions:
sngcm::ast::Node::ToString
Calls:
sngcm::ast::Node::ToString
,
sngcm::ast::UnaryNode::Subject
top
|
up
|
prev
|
next