top | up | prev | next

CursorIdNode Class

Definition at line 32 of Identifier.hpp

Constructors

CursorIdNode(const Span& span_)
CursorIdNode(const Span& span_, 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_)

Definition at line 73 of Identifier.cpp :
 73 : IdentifierNode(span_NodeType::cursorIdNode)
 74 {
 75 }


Declaration at line 35 of Identifier.hpp


CursorIdNode Constructor

sngcm::ast::CursorIdNode::CursorIdNode(const Span& span_, const std::u32string& identifier_)

Definition at line 77 of Identifier.cpp :
 77 : IdentifierNode(span_NodeType::cursorIdNodeidentifier_)
 78 {
 79 }


Declaration at line 36 of Identifier.hpp


Member Function Details

Accept Member Function

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

Definition at line 86 of Identifier.cpp :
 87 {
 88     visitor.Visit(*this);
 89 }


Declaration at line 38 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 81 of Identifier.cpp :
 82 {
 83     return new CursorIdNode(GetSpan()Str());
 84 }


Declaration at line 37 of Identifier.hpp

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

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


Read Member Function

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

Definition at line 96 of Identifier.cpp :
 97 {
 98     IdentifierNode::Read(reader);
 99 }


Declaration at line 40 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 91 of Identifier.cpp :
 92 {
 93     IdentifierNode::Write(writer);
 94 }


Declaration at line 39 of Identifier.hpp

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

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


top | up | prev | next