top
|
up
|
prev
|
next
BoolNode Class
Definition at line
12
of
BasicType.hpp
Constructors
BoolNode
(
const
Span& span_)
Member Functions
void
Accept
(
Visitor
& visitor)
override
Node
*
Clone
(
CloneContext
& cloneContext)
const override
std::string
ToString
()
const override
Constructor Details
BoolNode Constructor
sngcm::ast::BoolNode::BoolNode(
const
Span& span_)
Definition at line
11
of
BasicType.cpp
:
11
:
Node
(
NodeType
::
boolNode
,
span_
)
12
{
13
}
Declaration at line
15
of
BasicType.hpp
Member Function Details
Accept Member Function
void
sngcm::ast::BoolNode::Accept(
Visitor
& visitor)
override
Definition at line
20
of
BasicType.cpp
:
21
{
22
visitor
.
Visit
(
*
this
)
;
23
}
Declaration at line
17
of
BasicType.hpp
Base class overridden functions:
sngcm::ast::Node::Accept
Calls:
sngcm::ast::Visitor::Visit
Clone Member Function
Node
* sngcm::ast::BoolNode::Clone(
CloneContext
& cloneContext)
const override
Definition at line
15
of
BasicType.cpp
:
16
{
17
return
new
BoolNode
(
GetSpan
(
)
)
;
18
}
Declaration at line
16
of
BasicType.hpp
Base class overridden functions:
sngcm::ast::Node::Clone
Calls:
sngcm::ast::Node::GetSpan
ToString Member Function
std::string sngcm::ast::BoolNode::ToString()
const override
Definition at line
18
of
BasicType.hpp
:
18
{
return
"bool"
;
}
Base class overridden functions:
sngcm::ast::Node::ToString
top
|
up
|
prev
|
next