top
|
up
|
prev
|
next
BitXorNode Class
Definition at line
95
of
Expression.hpp
Constructors
BitXorNode
(
const
Span& span_)
BitXorNode
(
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
BitXorNode Constructor
sngcm::ast::BitXorNode::BitXorNode(
const
Span& span_)
Definition at line
201
of
Expression.cpp
:
201
:
BinaryNode
(
NodeType
::
bitXorNode
,
span_
)
202
{
203
}
Declaration at line
98
of
Expression.hpp
BitXorNode Constructor
sngcm::ast::BitXorNode::BitXorNode(
const
Span& span_,
Node
* left_,
Node
* right_)
Definition at line
205
of
Expression.cpp
:
205
:
BinaryNode
(
NodeType
::
bitXorNode
,
span_
,
left_
,
right_
)
206
{
207
}
Declaration at line
99
of
Expression.hpp
Member Function Details
Accept Member Function
void
sngcm::ast::BitXorNode::Accept(
Visitor
& visitor)
override
Definition at line
214
of
Expression.cpp
:
215
{
216
visitor
.
Visit
(
*
this
)
;
217
}
Declaration at line
101
of
Expression.hpp
Base class overridden functions:
sngcm::ast::Node::Accept
Calls:
sngcm::ast::Visitor::Visit
Clone Member Function
Node
* sngcm::ast::BitXorNode::Clone(
CloneContext
& cloneContext)
const override
Definition at line
209
of
Expression.cpp
:
210
{
211
return
new
BitXorNode
(
GetSpan
(
)
,
Left
(
)
->
Clone
(
cloneContext
)
,
Right
(
)
->
Clone
(
cloneContext
)
)
;
212
}
Declaration at line
100
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::BitXorNode::ToString()
const override
Definition at line
219
of
Expression.cpp
:
220
{
221
return
Left
(
)
->
ToString
(
)
+
" ^ "
+
Right
(
)
->
ToString
(
)
;
222
}
Declaration at line
102
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