top
|
up
|
prev
|
next
ShiftRightNode Class
Definition at line
185
of
Expression.hpp
Constructors
ShiftRightNode
(
const
Span& span_)
ShiftRightNode
(
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
ShiftRightNode Constructor
sngcm::ast::ShiftRightNode::ShiftRightNode(
const
Span& span_)
Definition at line
408
of
Expression.cpp
:
408
:
BinaryNode
(
NodeType
::
shiftRightNode
,
span_
)
409
{
410
}
Declaration at line
188
of
Expression.hpp
ShiftRightNode Constructor
sngcm::ast::ShiftRightNode::ShiftRightNode(
const
Span& span_,
Node
* left_,
Node
* right_)
Definition at line
412
of
Expression.cpp
:
412
:
BinaryNode
(
NodeType
::
shiftRightNode
,
span_
,
left_
,
right_
)
413
{
414
}
Declaration at line
189
of
Expression.hpp
Member Function Details
Accept Member Function
void
sngcm::ast::ShiftRightNode::Accept(
Visitor
& visitor)
override
Definition at line
421
of
Expression.cpp
:
422
{
423
visitor
.
Visit
(
*
this
)
;
424
}
Declaration at line
191
of
Expression.hpp
Base class overridden functions:
sngcm::ast::Node::Accept
Calls:
sngcm::ast::Visitor::Visit
Clone Member Function
Node
* sngcm::ast::ShiftRightNode::Clone(
CloneContext
& cloneContext)
const override
Definition at line
416
of
Expression.cpp
:
417
{
418
return
new
ShiftRightNode
(
GetSpan
(
)
,
Left
(
)
->
Clone
(
cloneContext
)
,
Right
(
)
->
Clone
(
cloneContext
)
)
;
419
}
Declaration at line
190
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::ShiftRightNode::ToString()
const override
Definition at line
426
of
Expression.cpp
:
427
{
428
return
Left
(
)
->
ToString
(
)
+
" >> "
+
Right
(
)
->
ToString
(
)
;
429
}
Declaration at line
192
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