top | up | prev | next

CursorIdNode Class

Definition at line 33 of Identifier.hpp

Constructors

CursorIdNode(const Span& span_, const boost::uuids::uuid& moduleId_)
CursorIdNode(const Span& span_, const boost::uuids::uuid& moduleId_, const std::u32string& identifier_)

Member Functions

void Accept(Visitor& visitor) override
Node* Clone(CloneContext& cloneContext) const override
void Read(AstReader& reader) override
void Write(AstWriter& writer) override

Constructor Details

CursorIdNode Constructor

sngcm::ast::CursorIdNode::CursorIdNode(const Span& span_, const boost::uuids::uuid& moduleId_)

Definition at line 79 of Identifier.cpp :
 79 : IdentifierNode(span_moduleId_NodeType::cursorIdNode)
 80 {
 81 }


Declaration at line 36 of Identifier.hpp


CursorIdNode Constructor

sngcm::ast::CursorIdNode::CursorIdNode(const Span& span_, const boost::uuids::uuid& moduleId_, const std::u32string& identifier_)

Definition at line 83 of Identifier.cpp :
 83 : IdentifierNode(span_moduleId_NodeType::cursorIdNodeidentifier_)
 84 {
 85 }


Declaration at line 37 of Identifier.hpp


Member Function Details

Accept Member Function

void sngcm::ast::CursorIdNode::Accept(Visitor & visitor) override

Definition at line 93 of Identifier.cpp :
 94 {
 95     visitor.Visit(*this);
 96 }


Declaration at line 39 of Identifier.hpp

Base class overridden functions: sngcm::ast::IdentifierNode::Accept , sngcm::ast::Node::Accept

Calls: sngcm::ast::Visitor::Visit


Clone Member Function

Node * sngcm::ast::CursorIdNode::Clone(CloneContext & cloneContext) const override

Definition at line 87 of Identifier.cpp :
 88 {
 89     CursorIdNode* clone = new CursorIdNode(GetSpan()ModuleId()Str());
 90     return clone;
 91 }


Declaration at line 38 of Identifier.hpp

Base class overridden functions: sngcm::ast::IdentifierNode::Clone , sngcm::ast::Node::Clone

Calls: sngcm::ast::IdentifierNode::Str , sngcm::ast::Node::GetSpan , sngcm::ast::Node::ModuleId


Read Member Function

void sngcm::ast::CursorIdNode::Read(AstReader & reader) override

Definition at line 103 of Identifier.cpp :
104 {
105     IdentifierNode::Read(reader);
106 }


Declaration at line 41 of Identifier.hpp

Base class overridden functions: sngcm::ast::IdentifierNode::Read , sngcm::ast::Node::Read

Calls: sngcm::ast::IdentifierNode::Read


Write Member Function

void sngcm::ast::CursorIdNode::Write(AstWriter & writer) override

Definition at line 98 of Identifier.cpp :
 99 {
100     IdentifierNode::Write(writer);
101 }


Declaration at line 40 of Identifier.hpp

Base class overridden functions: sngcm::ast::IdentifierNode::Write , sngcm::ast::Node::Write

Calls: sngcm::ast::IdentifierNode::Write


top | up | prev | next