top | up | prev | next

OperatorFunctionIdNode Class

Definition at line 372 of Expression.hpp

Constructors

OperatorFunctionIdNode()
OperatorFunctionIdNode(const Span& span_, Operator op_)

Member Functions

void Accept(Visitor& visitor) override
std::u32string GroupName() const
bool IsOperatorFunctionIdNode() const override
Operator Op() const
std::u32string OpStr() const
void Read(Reader& reader) override
std::u32string Str() const
void Write(Writer& writer) override

Member Variables

Operator op

Constructor Details

OperatorFunctionIdNode Constructor

sngcpp::ast::OperatorFunctionIdNode::OperatorFunctionIdNode()

Definition at line 728 of Expression.cpp :
 728 : IdentifierNode(NodeType::operatorFunctionIdNode)op()
 729 {
 730 }


Declaration at line 375 of Expression.hpp


OperatorFunctionIdNode Constructor

sngcpp::ast::OperatorFunctionIdNode::OperatorFunctionIdNode(const Span& span_, Operator op_)

Definition at line 732 of Expression.cpp :
 732 : IdentifierNode(NodeType::operatorFunctionIdNodespan_U"operator")op(op_)
 733 {
 734 }


Declaration at line 376 of Expression.hpp


Member Function Details

Accept Member Function

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

Definition at line 736 of Expression.cpp :
 737 {
 738     visitor.Visit(*this);
 739 }


Declaration at line 378 of Expression.hpp

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

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


GroupName Member Function

std::u32string sngcpp::ast::OperatorFunctionIdNode::GroupName() const

Definition at line 855 of Expression.cpp
Declaration at line 384 of Expression.hpp


IsOperatorFunctionIdNode Member Function

bool sngcpp::ast::OperatorFunctionIdNode::IsOperatorFunctionIdNode() const override

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

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


Op Member Function

Operator sngcpp::ast::OperatorFunctionIdNode::Op() const

Definition at line 381 of Expression.hpp :
381 { return op; }


OpStr Member Function

std::u32string sngcpp::ast::OperatorFunctionIdNode::OpStr() const

Definition at line 753 of Expression.cpp
Declaration at line 382 of Expression.hpp


Read Member Function

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

Definition at line 747 of Expression.cpp :
 748 {
 749     IdentifierNode::Read(reader);
 750     op = reader.ReadOperator();
 751 }


Declaration at line 380 of Expression.hpp

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

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


Str Member Function

std::u32string sngcpp::ast::OperatorFunctionIdNode::Str() const

Definition at line 804 of Expression.cpp
Declaration at line 383 of Expression.hpp


Write Member Function

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

Definition at line 741 of Expression.cpp :
 742 {
 743     IdentifierNode::Write(writer);
 744     writer.Write(op);
 745 }


Declaration at line 379 of Expression.hpp

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

Calls: sngcpp::ast::IdentifierNode::Write , sngcpp::ast::Writer::Write


top | up | prev | next