top
|
up
|
prev
|
next
BaseNode Class
Definition at line
538
of
Expression.hpp
Constructors
BaseNode
(
const
Span& span_)
Member Functions
void
Accept
(
Visitor
& visitor)
override
Node
*
Clone
(
CloneContext
& cloneContext)
const override
std::string
ToString
()
const override
Constructor Details
BaseNode Constructor
sngcm::ast::BaseNode::BaseNode(
const
Span& span_)
Definition at line
1271
of
Expression.cpp
:
1271
:
Node
(
NodeType
::
baseNode
,
span_
)
1272
{
1273
}
Declaration at line
541
of
Expression.hpp
Member Function Details
Accept Member Function
void
sngcm::ast::BaseNode::Accept(
Visitor
& visitor)
override
Definition at line
1280
of
Expression.cpp
:
1281
{
1282
visitor
.
Visit
(
*
this
)
;
1283
}
Declaration at line
543
of
Expression.hpp
Base class overridden functions:
sngcm::ast::Node::Accept
Calls:
sngcm::ast::Visitor::Visit
Clone Member Function
Node
* sngcm::ast::BaseNode::Clone(
CloneContext
& cloneContext)
const override
Definition at line
1275
of
Expression.cpp
:
1276
{
1277
return
new
BaseNode
(
GetSpan
(
)
)
;
1278
}
Declaration at line
542
of
Expression.hpp
Base class overridden functions:
sngcm::ast::Node::Clone
Calls:
sngcm::ast::Node::GetSpan
ToString Member Function
std::string sngcm::ast::BaseNode::ToString()
const override
Definition at line
1285
of
Expression.cpp
:
1286
{
1287
return
"base"
;
1288
}
Declaration at line
544
of
Expression.hpp
Base class overridden functions:
sngcm::ast::Node::ToString
top
|
up
|
prev
|
next