top | up | prev | next

EqualityExpressionNode Class

Definition at line 119 of Expression.hpp

Constructors

EqualityExpressionNode()
EqualityExpressionNode(const Span& span_, Node* left_, Node* right_, Operator op_)

Member Functions

void Accept(Visitor& visitor) override
Operator Op() const
void Read(Reader& reader) override
void Write(Writer& writer) override

Member Variables

Operator op

Constructor Details

EqualityExpressionNode Constructor

sngcpp::ast::EqualityExpressionNode::EqualityExpressionNode()

Definition at line 233 of Expression.cpp :
 233 : BinaryNode(NodeType::equalityExpressionNode)op()
 234 {
 235 }


Declaration at line 122 of Expression.hpp


EqualityExpressionNode Constructor

sngcpp::ast::EqualityExpressionNode::EqualityExpressionNode(const Span& span_, Node * left_, Node * right_, Operator op_)

Definition at line 237 of Expression.cpp :
 237 : BinaryNode(NodeType::equalityExpressionNodespan_left_right_)op(op_)
 238 {
 239 }


Declaration at line 123 of Expression.hpp


Member Function Details

Accept Member Function

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

Definition at line 241 of Expression.cpp :
 242 {
 243     visitor.Visit(*this);
 244 }


Declaration at line 124 of Expression.hpp

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

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


Op Member Function

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

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


Read Member Function

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

Definition at line 252 of Expression.cpp :
 253 {
 254     BinaryNode::Read(reader);
 255     op = reader.ReadOperator();
 256 }


Declaration at line 126 of Expression.hpp

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

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


Write Member Function

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

Definition at line 246 of Expression.cpp :
 247 {
 248     BinaryNode::Write(writer);
 249     writer.Write(op);
 250 }


Declaration at line 125 of Expression.hpp

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

Calls: sngcpp::ast::BinaryNode::Write , sngcpp::ast::Writer::Write


top | up | prev | next