top
|
up
|
prev
|
next
NotEqualNode Class
Definition at line
125
of
Expression.hpp
Constructors
NotEqualNode
(
const
Span& span_)
NotEqualNode
(
const
Span& span_,
Node
* left_,
Node
* right_)
Member Functions
void
Accept
(
Visitor
& visitor)
override
Node
*
Clone
(
CloneContext
& cloneContext)
const override
std::string
ToString
()
const override
Constructor Details
NotEqualNode Constructor
sngcm::ast::NotEqualNode::NotEqualNode(
const
Span& span_)
Definition at line
270
of
Expression.cpp
:
270
:
BinaryNode
(
NodeType
::
notEqualNode
,
span_
)
271
{
272
}
Declaration at line
128
of
Expression.hpp
NotEqualNode Constructor
sngcm::ast::NotEqualNode::NotEqualNode(
const
Span& span_,
Node
* left_,
Node
* right_)
Definition at line
274
of
Expression.cpp
:
274
:
BinaryNode
(
NodeType
::
notEqualNode
,
span_
,
left_
,
right_
)
275
{
276
}
Declaration at line
129
of
Expression.hpp
Member Function Details
Accept Member Function
void
sngcm::ast::NotEqualNode::Accept(
Visitor
& visitor)
override
Definition at line
283
of
Expression.cpp
:
284
{
285
visitor
.
Visit
(
*
this
)
;
286
}
Declaration at line
131
of
Expression.hpp
Base class overridden functions:
sngcm::ast::Node::Accept
Calls:
sngcm::ast::Visitor::Visit
Clone Member Function
Node
* sngcm::ast::NotEqualNode::Clone(
CloneContext
& cloneContext)
const override
Definition at line
278
of
Expression.cpp
:
279
{
280
return
new
NotEqualNode
(
GetSpan
(
)
,
Left
(
)
->
Clone
(
cloneContext
)
,
Right
(
)
->
Clone
(
cloneContext
)
)
;
281
}
Declaration at line
130
of
Expression.hpp
Base class overridden functions:
sngcm::ast::Node::Clone
Calls:
sngcm::ast::BinaryNode::Left
,
sngcm::ast::BinaryNode::Right
,
sngcm::ast::Node::Clone
,
sngcm::ast::Node::GetSpan
ToString Member Function
std::string sngcm::ast::NotEqualNode::ToString()
const override
Definition at line
288
of
Expression.cpp
:
289
{
290
return
Left
(
)
->
ToString
(
)
+
" != "
+
Right
(
)
->
ToString
(
)
;
291
}
Declaration at line
132
of
Expression.hpp
Base class overridden functions:
sngcm::ast::Node::ToString
Calls:
sngcm::ast::BinaryNode::Left
,
sngcm::ast::BinaryNode::Right
,
sngcm::ast::Node::ToString
top
|
up
|
prev
|
next