top
|
up
|
prev
|
next
NullLiteralNode Class
Definition at line
285
of
Literal.hpp
Constructors
NullLiteralNode
(
const
Span& span_)
Member Functions
void
Accept
(
Visitor
& visitor)
override
Node
*
Clone
(
CloneContext
& cloneContext)
const override
std::string
ToString
()
const override
Constructor Details
NullLiteralNode Constructor
sngcm::ast::NullLiteralNode::NullLiteralNode(
const
Span& span_)
Definition at line
711
of
Literal.cpp
:
711
:
LiteralNode
(
NodeType
::
nullLiteralNode
,
span_
)
712
{
713
}
Declaration at line
288
of
Literal.hpp
Member Function Details
Accept Member Function
void
sngcm::ast::NullLiteralNode::Accept(
Visitor
& visitor)
override
Definition at line
720
of
Literal.cpp
:
721
{
722
visitor
.
Visit
(
*
this
)
;
723
}
Declaration at line
290
of
Literal.hpp
Base class overridden functions:
sngcm::ast::Node::Accept
Calls:
sngcm::ast::Visitor::Visit
Clone Member Function
Node
* sngcm::ast::NullLiteralNode::Clone(
CloneContext
& cloneContext)
const override
Definition at line
715
of
Literal.cpp
:
716
{
717
return
new
NullLiteralNode
(
GetSpan
(
)
)
;
718
}
Declaration at line
289
of
Literal.hpp
Base class overridden functions:
sngcm::ast::Node::Clone
Calls:
sngcm::ast::Node::GetSpan
ToString Member Function
std::string sngcm::ast::NullLiteralNode::ToString()
const override
Definition at line
291
of
Literal.hpp
:
291
{
return
"null"
;
}
Base class overridden functions:
sngcm::ast::Node::ToString
top
|
up
|
prev
|
next