top | up | prev | next

FunctionPtrIdNode Class

Definition at line 59 of Declarator.hpp

Constructors

FunctionPtrIdNode()
FunctionPtrIdNode(const Span& span_, const std::u32string& id_)

Member Functions

void Accept(Visitor& visitor) override
const std::u32string& Id() const
void Read(Reader& reader) override
void Write(Writer& writer) override

Member Variables

std::u32string id

Constructor Details

FunctionPtrIdNode Constructor

sngcpp::ast::FunctionPtrIdNode::FunctionPtrIdNode()

Definition at line 112 of Declarator.cpp :
112 : Node(NodeType::functionPtrIdNode)
113 {
114 }


Declaration at line 62 of Declarator.hpp


FunctionPtrIdNode Constructor

sngcpp::ast::FunctionPtrIdNode::FunctionPtrIdNode(const Span& span_, const std::u32string& id_)

Definition at line 116 of Declarator.cpp :
116 : Node(NodeType::functionPtrIdNodespan_)id(id_)
117 {
118 }


Declaration at line 63 of Declarator.hpp


Member Function Details

Accept Member Function

void sngcpp::ast::FunctionPtrIdNode::Accept(Visitor & visitor) override

Definition at line 120 of Declarator.cpp :
121 {
122     visitor.Visit(*this);
123 }


Declaration at line 64 of Declarator.hpp

Base class overridden functions: sngcpp::ast::Node::Accept

Calls: sngcpp::ast::Visitor::Visit


Id Member Function

const std::u32string& sngcpp::ast::FunctionPtrIdNode::Id() const

Definition at line 67 of Declarator.hpp :
 67 { return id; }


Read Member Function

void sngcpp::ast::FunctionPtrIdNode::Read(Reader & reader) override

Definition at line 131 of Declarator.cpp :
132 {
133     Node::Read(reader);
134     id = reader.GetBinaryReader().ReadUtf32String();
135 }


Declaration at line 66 of Declarator.hpp

Base class overridden functions: sngcpp::ast::Node::Read

Calls: sngcpp::ast::Node::Read , sngcpp::ast::Reader::GetBinaryReader


Write Member Function

void sngcpp::ast::FunctionPtrIdNode::Write(Writer & writer) override

Definition at line 125 of Declarator.cpp :
126 {
127     Node::Write(writer);
128     writer.GetBinaryWriter().Write(id);
129 }


Declaration at line 65 of Declarator.hpp

Base class overridden functions: sngcpp::ast::Node::Write

Calls: sngcpp::ast::FunctionPtrIdNode::Write , sngcpp::ast::Node::Write , sngcpp::ast::Writer::GetBinaryWriter

Called by: sngcpp::ast::FunctionPtrIdNode::Write


top | up | prev | next