top
|
up
|
prev
|
next
LessNode Class
Definition at line
135
of
Expression.hpp
Constructors
LessNode
(
const
Span& span_)
LessNode
(
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
LessNode Constructor
sngcm::ast::LessNode::LessNode(
const
Span& span_)
Definition at line
293
of
Expression.cpp
:
293
:
BinaryNode
(
NodeType
::
lessNode
,
span_
)
294
{
295
}
Declaration at line
138
of
Expression.hpp
LessNode Constructor
sngcm::ast::LessNode::LessNode(
const
Span& span_,
Node
* left_,
Node
* right_)
Definition at line
297
of
Expression.cpp
:
297
:
BinaryNode
(
NodeType
::
lessNode
,
span_
,
left_
,
right_
)
298
{
299
}
Declaration at line
139
of
Expression.hpp
Member Function Details
Accept Member Function
void
sngcm::ast::LessNode::Accept(
Visitor
& visitor)
override
Definition at line
306
of
Expression.cpp
:
307
{
308
visitor
.
Visit
(
*
this
)
;
309
}
Declaration at line
141
of
Expression.hpp
Base class overridden functions:
sngcm::ast::Node::Accept
Calls:
sngcm::ast::Visitor::Visit
Clone Member Function
Node
* sngcm::ast::LessNode::Clone(
CloneContext
& cloneContext)
const override
Definition at line
301
of
Expression.cpp
:
302
{
303
return
new
LessNode
(
GetSpan
(
)
,
Left
(
)
->
Clone
(
cloneContext
)
,
Right
(
)
->
Clone
(
cloneContext
)
)
;
304
}
Declaration at line
140
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::LessNode::ToString()
const override
Definition at line
311
of
Expression.cpp
:
312
{
313
return
Left
(
)
->
ToString
(
)
+
" < "
+
Right
(
)
->
ToString
(
)
;
314
}
Declaration at line
142
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