top | up | prev | next

RelationalExpressionNode Class

Definition at line 132 of Expression.hpp

Constructors

RelationalExpressionNode()
RelationalExpressionNode(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

RelationalExpressionNode Constructor

sngcpp::ast::RelationalExpressionNode::RelationalExpressionNode()

Definition at line 258 of Expression.cpp :
 258 : BinaryNode(NodeType::relationalExpressionNode)op()
 259 {
 260 }


Declaration at line 135 of Expression.hpp


RelationalExpressionNode Constructor

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

Definition at line 262 of Expression.cpp :
 262 : BinaryNode(NodeType::relationalExpressionNodespan_left_right_)op(op_)
 263 {
 264 }


Declaration at line 136 of Expression.hpp


Member Function Details

Accept Member Function

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

Definition at line 266 of Expression.cpp :
 267 {
 268     visitor.Visit(*this);
 269 }


Declaration at line 137 of Expression.hpp

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

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


Op Member Function

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

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


Read Member Function

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

Definition at line 277 of Expression.cpp :
 278 {
 279     BinaryNode::Read(reader);
 280     op = reader.ReadOperator();
 281 }


Declaration at line 139 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::RelationalExpressionNode::Write(Writer & writer) override

Definition at line 271 of Expression.cpp :
 272 {
 273     BinaryNode::Write(writer);
 274     writer.Write(op);
 275 }


Declaration at line 138 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