top
|
up
|
prev
|
next
ShortNode Class
Definition at line
41
of
BasicType.hpp
Constructors
ShortNode
(
const
Span& span_,
const
boost::uuids::uuid& moduleId_)
Member Functions
void
Accept
(
Visitor
& visitor)
override
Node
*
Clone
(
CloneContext
& cloneContext)
const override
std::string
ToString
()
const override
Constructor Details
ShortNode Constructor
sngcm::ast::ShortNode::ShortNode(
const
Span& span_,
const
boost::uuids::uuid& moduleId_)
Definition at line
56
of
BasicType.cpp
:
56
:
Node
(
NodeType
::
shortNode
,
span_
,
moduleId_
)
57
{
58
}
Declaration at line
44
of
BasicType.hpp
Member Function Details
Accept Member Function
void
sngcm::ast::ShortNode::Accept(
Visitor
& visitor)
override
Definition at line
66
of
BasicType.cpp
:
67
{
68
visitor
.
Visit
(
*
this
)
;
69
}
Declaration at line
46
of
BasicType.hpp
Base class overridden functions:
sngcm::ast::Node::Accept
Calls:
sngcm::ast::Visitor::Visit
Clone Member Function
Node
* sngcm::ast::ShortNode::Clone(
CloneContext
& cloneContext)
const override
Definition at line
60
of
BasicType.cpp
:
61
{
62
ShortNode
*
clone
=
new
ShortNode
(
GetSpan
(
)
,
ModuleId
(
)
)
;
63
return
clone
;
64
}
Declaration at line
45
of
BasicType.hpp
Base class overridden functions:
sngcm::ast::Node::Clone
Calls:
sngcm::ast::Node::GetSpan
,
sngcm::ast::Node::ModuleId
ToString Member Function
std::string sngcm::ast::ShortNode::ToString()
const override
Definition at line
47
of
BasicType.hpp
:
47
{
return
"short"
;
}
Base class overridden functions:
sngcm::ast::Node::ToString
top
|
up
|
prev
|
next