top
|
up
|
prev
|
next
LessOrEqualNode Class
Definition at line
155
of
Expression.hpp
Constructors
LessOrEqualNode
(
const
Span& span_)
LessOrEqualNode
(
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
LessOrEqualNode Constructor
sngcm::ast::LessOrEqualNode::LessOrEqualNode(
const
Span& span_)
Definition at line
339
of
Expression.cpp
:
339
:
BinaryNode
(
NodeType
::
lessOrEqualNode
,
span_
)
340
{
341
}
Declaration at line
158
of
Expression.hpp
LessOrEqualNode Constructor
sngcm::ast::LessOrEqualNode::LessOrEqualNode(
const
Span& span_,
Node
* left_,
Node
* right_)
Definition at line
343
of
Expression.cpp
:
343
:
BinaryNode
(
NodeType
::
lessOrEqualNode
,
span_
,
left_
,
right_
)
344
{
345
}
Declaration at line
159
of
Expression.hpp
Member Function Details
Accept Member Function
void
sngcm::ast::LessOrEqualNode::Accept(
Visitor
& visitor)
override
Definition at line
352
of
Expression.cpp
:
353
{
354
visitor
.
Visit
(
*
this
)
;
355
}
Declaration at line
161
of
Expression.hpp
Base class overridden functions:
sngcm::ast::Node::Accept
Calls:
sngcm::ast::Visitor::Visit
Clone Member Function
Node
* sngcm::ast::LessOrEqualNode::Clone(
CloneContext
& cloneContext)
const override
Definition at line
347
of
Expression.cpp
:
348
{
349
return
new
LessOrEqualNode
(
GetSpan
(
)
,
Left
(
)
->
Clone
(
cloneContext
)
,
Right
(
)
->
Clone
(
cloneContext
)
)
;
350
}
Declaration at line
160
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::LessOrEqualNode::ToString()
const override
Definition at line
357
of
Expression.cpp
:
358
{
359
return
Left
(
)
->
ToString
(
)
+
" <= "
+
Right
(
)
->
ToString
(
)
;
360
}
Declaration at line
162
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