top | up | prev | next

ConversionFunctionIdNode Class

Definition at line 389 of Expression.hpp

Constructors

ConversionFunctionIdNode()
ConversionFunctionIdNode(const Span& span_, Node* typeExpr_)

Member Functions

void Accept(Visitor& visitor) override
bool IsConversionFunctionIdNode() const override
void Read(Reader& reader) override
Node* TypeExpr()
void Write(Writer& writer) override

Member Variables

std::unique_ptr<Node> typeExpr

Constructor Details

ConversionFunctionIdNode Constructor

sngcpp::ast::ConversionFunctionIdNode::ConversionFunctionIdNode()

Definition at line 906 of Expression.cpp :
 906 : IdentifierNode(NodeType::conversionFunctionIdNode)
 907 {
 908 }


Declaration at line 392 of Expression.hpp


ConversionFunctionIdNode Constructor

sngcpp::ast::ConversionFunctionIdNode::ConversionFunctionIdNode(const Span& span_, Node * typeExpr_)

Definition at line 910 of Expression.cpp :
 910 : IdentifierNode(NodeType::conversionFunctionIdNodespan_U"operator")typeExpr(typeExpr_)
 911 {
 912 }


Declaration at line 393 of Expression.hpp


Member Function Details

Accept Member Function

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

Definition at line 914 of Expression.cpp :
 915 {
 916     visitor.Visit(*this);
 917 }


Declaration at line 395 of Expression.hpp

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

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


IsConversionFunctionIdNode Member Function

bool sngcpp::ast::ConversionFunctionIdNode::IsConversionFunctionIdNode() const override

Definition at line 394 of Expression.hpp :
394 { return true; }

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


Read Member Function

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

Definition at line 925 of Expression.cpp :
 926 {
 927     IdentifierNode::Read(reader);
 928     typeExpr.reset(reader.ReadNode());
 929 }


Declaration at line 397 of Expression.hpp

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

Calls: sngcpp::ast::IdentifierNode::Read , sngcpp::ast::Reader::ReadNode


TypeExpr Member Function

Node * sngcpp::ast::ConversionFunctionIdNode::TypeExpr()

Definition at line 398 of Expression.hpp :
398 { return typeExpr.get(); }


Write Member Function

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

Definition at line 919 of Expression.cpp :
 920 {
 921     IdentifierNode::Write(writer);
 922     typeExpr->Write(writer);
 923 }


Declaration at line 396 of Expression.hpp

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

Calls: sngcpp::ast::ConversionFunctionIdNode::Write , sngcpp::ast::IdentifierNode::Write

Called by: sngcpp::ast::ConversionFunctionIdNode::Write


top | up | prev | next