top
|
up
|
prev
|
next
ByteNode Class
Definition at line
30
of
BasicType.hpp
Constructors
ByteNode
(
const
Span& span_)
Member Functions
void
Accept
(
Visitor
& visitor)
override
Node
*
Clone
(
CloneContext
& cloneContext)
const override
bool
IsUnsignedTypeNode
()
const override
std::string
ToString
()
const override
Constructor Details
ByteNode Constructor
sngcm::ast::ByteNode::ByteNode(
const
Span& span_)
Definition at line
39
of
BasicType.cpp
:
39
:
Node
(
NodeType
::
byteNode
,
span_
)
40
{
41
}
Declaration at line
33
of
BasicType.hpp
Member Function Details
Accept Member Function
void
sngcm::ast::ByteNode::Accept(
Visitor
& visitor)
override
Definition at line
48
of
BasicType.cpp
:
49
{
50
visitor
.
Visit
(
*
this
)
;
51
}
Declaration at line
35
of
BasicType.hpp
Base class overridden functions:
sngcm::ast::Node::Accept
Calls:
sngcm::ast::Visitor::Visit
Clone Member Function
Node
* sngcm::ast::ByteNode::Clone(
CloneContext
& cloneContext)
const override
Definition at line
43
of
BasicType.cpp
:
44
{
45
return
new
ByteNode
(
GetSpan
(
)
)
;
46
}
Declaration at line
34
of
BasicType.hpp
Base class overridden functions:
sngcm::ast::Node::Clone
Calls:
sngcm::ast::Node::GetSpan
IsUnsignedTypeNode Member Function
bool
sngcm::ast::ByteNode::IsUnsignedTypeNode()
const override
Definition at line
36
of
BasicType.hpp
:
36
{
return
true
;
}
Base class overridden functions:
sngcm::ast::Node::IsUnsignedTypeNode
ToString Member Function
std::string sngcm::ast::ByteNode::ToString()
const override
Definition at line
37
of
BasicType.hpp
:
37
{
return
"byte"
;
}
Base class overridden functions:
sngcm::ast::Node::ToString
top
|
up
|
prev
|
next