top | up | prev | next

MemberFunctionPtrIdNode Class

Definition at line 72 of Declarator.hpp

Constructors

MemberFunctionPtrIdNode()
MemberFunctionPtrIdNode(const Span& span_, Node* classNameNode_, const std::u32string& id_)

Member Functions

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

Member Variables

std::unique_ptr<Node> classNameNode
std::u32string id

Constructor Details

MemberFunctionPtrIdNode Constructor

sngcpp::ast::MemberFunctionPtrIdNode::MemberFunctionPtrIdNode()

Definition at line 137 of Declarator.cpp :
137 : Node(NodeType::memberFunctionPtrIdNode)
138 {
139 }


Declaration at line 75 of Declarator.hpp


MemberFunctionPtrIdNode Constructor

sngcpp::ast::MemberFunctionPtrIdNode::MemberFunctionPtrIdNode(const Span& span_, Node * classNameNode_, const std::u32string& id_)

Definition at line 141 of Declarator.cpp :
141 :
142 Node(NodeType::memberFunctionPtrIdNodespan_)classNameNode(classNameNode_)id(id_)
143 {
144 }


Declaration at line 76 of Declarator.hpp


Member Function Details

Accept Member Function

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

Definition at line 146 of Declarator.cpp :
147 {
148     visitor.Visit(*this);
149 }


Declaration at line 77 of Declarator.hpp

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

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


ClassNameNode Member Function

Node * sngcpp::ast::MemberFunctionPtrIdNode::ClassNameNode()

Definition at line 80 of Declarator.hpp :
 80 { return classNameNode.get(); }


Id Member Function

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

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


Read Member Function

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

Definition at line 158 of Declarator.cpp :
159 {
160     Node::Read(reader);
161     classNameNode.reset(reader.ReadNode());
162     id = reader.GetBinaryReader().ReadUtf32String();
163 }


Declaration at line 79 of Declarator.hpp

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

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


Write Member Function

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

Definition at line 151 of Declarator.cpp :
152 {
153     Node::Write(writer);
154     classNameNode->Write(writer);
155     writer.GetBinaryWriter().Write(id);
156 }


Declaration at line 78 of Declarator.hpp

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

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

Called by: sngcpp::ast::MemberFunctionPtrIdNode::Write


top | up | prev | next