top
|
up
|
prev
|
next
TemplateArgumentNode Class
Definition at line
79
of
Template.hpp
Constructors
TemplateArgumentNode
()
TemplateArgumentNode
(
const
Span& span_,
Node
* arg_)
Member Functions
void
Accept
(
Visitor
& visitor)
override
Node
*
Arg
()
void
Read
(
Reader
& reader)
override
void
Write
(
Writer
& writer)
override
Member Variables
std::unique_ptr<
Node
>
arg
Constructor Details
TemplateArgumentNode Constructor
sngcpp::ast::TemplateArgumentNode::TemplateArgumentNode()
Definition at line
144
of
Template.cpp
:
144
:
Node
(
NodeType
::
templateArgumentNode
)
145
{
146
}
Declaration at line
82
of
Template.hpp
TemplateArgumentNode Constructor
sngcpp::ast::TemplateArgumentNode::TemplateArgumentNode(
const
Span& span_,
Node
* arg_)
Definition at line
148
of
Template.cpp
:
148
:
Node
(
NodeType
::
templateArgumentNode
,
span_
)
,
arg
(
arg_
)
149
{
150
}
Declaration at line
83
of
Template.hpp
Member Function Details
Accept Member Function
void
sngcpp::ast::TemplateArgumentNode::Accept(
Visitor
& visitor)
override
Definition at line
152
of
Template.cpp
:
153
{
154
visitor
.
Visit
(
*
this
)
;
155
}
Declaration at line
84
of
Template.hpp
Base class overridden functions:
sngcpp::ast::Node::Accept
Calls:
sngcpp::ast::Visitor::Visit
Arg Member Function
Node
* sngcpp::ast::TemplateArgumentNode::Arg()
Definition at line
87
of
Template.hpp
:
87
{
return
arg
.
get
(
)
;
}
Read Member Function
void
sngcpp::ast::TemplateArgumentNode::Read(
Reader
& reader)
override
Definition at line
163
of
Template.cpp
:
164
{
165
Node
::
Read
(
reader
)
;
166
arg
.
reset
(
reader
.
ReadNode
(
)
)
;
167
}
Declaration at line
86
of
Template.hpp
Base class overridden functions:
sngcpp::ast::Node::Read
Calls:
sngcpp::ast::Node::Read
,
sngcpp::ast::Reader::ReadNode
Write Member Function
void
sngcpp::ast::TemplateArgumentNode::Write(
Writer
& writer)
override
Definition at line
157
of
Template.cpp
:
158
{
159
Node
::
Write
(
writer
)
;
160
arg
->
Write
(
writer
)
;
161
}
Declaration at line
85
of
Template.hpp
Base class overridden functions:
sngcpp::ast::Node::Write
Calls:
sngcpp::ast::Node::Write
,
sngcpp::ast::TemplateArgumentNode::Write
Called by:
sngcpp::ast::TemplateArgumentNode::Write
top
|
up
|
prev
|
next