top
|
up
|
prev
|
next
BitOrNode Class
Definition at line
85
of
Expression.hpp
Constructors
BitOrNode
(
const
Span& span_)
BitOrNode
(
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
BitOrNode Constructor
sngcm::ast::BitOrNode::BitOrNode(
const
Span& span_)
Definition at line
178
of
Expression.cpp
:
178
:
BinaryNode
(
NodeType
::
bitOrNode
,
span_
)
179
{
180
}
Declaration at line
88
of
Expression.hpp
BitOrNode Constructor
sngcm::ast::BitOrNode::BitOrNode(
const
Span& span_,
Node
* left_,
Node
* right_)
Definition at line
182
of
Expression.cpp
:
182
:
BinaryNode
(
NodeType
::
bitOrNode
,
span_
,
left_
,
right_
)
183
{
184
}
Declaration at line
89
of
Expression.hpp
Member Function Details
Accept Member Function
void
sngcm::ast::BitOrNode::Accept(
Visitor
& visitor)
override
Definition at line
191
of
Expression.cpp
:
192
{
193
visitor
.
Visit
(
*
this
)
;
194
}
Declaration at line
91
of
Expression.hpp
Base class overridden functions:
sngcm::ast::Node::Accept
Calls:
sngcm::ast::Visitor::Visit
Clone Member Function
Node
* sngcm::ast::BitOrNode::Clone(
CloneContext
& cloneContext)
const override
Definition at line
186
of
Expression.cpp
:
187
{
188
return
new
BitOrNode
(
GetSpan
(
)
,
Left
(
)
->
Clone
(
cloneContext
)
,
Right
(
)
->
Clone
(
cloneContext
)
)
;
189
}
Declaration at line
90
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::BitOrNode::ToString()
const override
Definition at line
196
of
Expression.cpp
:
197
{
198
return
Left
(
)
->
ToString
(
)
+
" | "
+
Right
(
)
->
ToString
(
)
;
199
}
Declaration at line
92
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