top
|
up
|
prev
|
next
ShortNode Class
Definition at line
40
of
BasicType.hpp
Constructors
ShortNode
(
const
Span& span_)
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_)
Definition at line
53
of
BasicType.cpp
:
53
:
Node
(
NodeType
::
shortNode
,
span_
)
54
{
55
}
Declaration at line
43
of
BasicType.hpp
Member Function Details
Accept Member Function
void
sngcm::ast::ShortNode::Accept(
Visitor
& visitor)
override
Definition at line
62
of
BasicType.cpp
:
63
{
64
visitor
.
Visit
(
*
this
)
;
65
}
Declaration at line
45
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
57
of
BasicType.cpp
:
58
{
59
return
new
ShortNode
(
GetSpan
(
)
)
;
60
}
Declaration at line
44
of
BasicType.hpp
Base class overridden functions:
sngcm::ast::Node::Clone
Calls:
sngcm::ast::Node::GetSpan
ToString Member Function
std::string sngcm::ast::ShortNode::ToString()
const override
Definition at line
46
of
BasicType.hpp
:
46
{
return
"short"
;
}
Base class overridden functions:
sngcm::ast::Node::ToString
top
|
up
|
prev
|
next