top
|
up
|
prev
|
next
IntNode Class
Definition at line
59
of
BasicType.hpp
Constructors
IntNode
(
const
Span& span_)
Member Functions
void
Accept
(
Visitor
& visitor)
override
Node
*
Clone
(
CloneContext
& cloneContext)
const override
std::string
ToString
()
const override
Constructor Details
IntNode Constructor
sngcm::ast::IntNode::IntNode(
const
Span& span_)
Definition at line
81
of
BasicType.cpp
:
81
:
Node
(
NodeType
::
intNode
,
span_
)
82
{
83
}
Declaration at line
62
of
BasicType.hpp
Member Function Details
Accept Member Function
void
sngcm::ast::IntNode::Accept(
Visitor
& visitor)
override
Definition at line
90
of
BasicType.cpp
:
91
{
92
visitor
.
Visit
(
*
this
)
;
93
}
Declaration at line
64
of
BasicType.hpp
Base class overridden functions:
sngcm::ast::Node::Accept
Calls:
sngcm::ast::Visitor::Visit
Clone Member Function
Node
* sngcm::ast::IntNode::Clone(
CloneContext
& cloneContext)
const override
Definition at line
85
of
BasicType.cpp
:
86
{
87
return
new
IntNode
(
GetSpan
(
)
)
;
88
}
Declaration at line
63
of
BasicType.hpp
Base class overridden functions:
sngcm::ast::Node::Clone
Calls:
sngcm::ast::Node::GetSpan
ToString Member Function
std::string sngcm::ast::IntNode::ToString()
const override
Definition at line
65
of
BasicType.hpp
:
65
{
return
"int"
;
}
Base class overridden functions:
sngcm::ast::Node::ToString
top
|
up
|
prev
|
next