top | up | prev | next

ShiftExpressionNode Class

Definition at line 145 of Expression.hpp

Constructors

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

ShiftExpressionNode Constructor

sngcpp::ast::ShiftExpressionNode::ShiftExpressionNode()

Definition at line 283 of Expression.cpp :
 283 : BinaryNode(NodeType::shiftExpressionNode)op()
 284 {
 285 }


Declaration at line 148 of Expression.hpp


ShiftExpressionNode Constructor

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

Definition at line 287 of Expression.cpp :
 287 : BinaryNode(NodeType::shiftExpressionNodespan_left_right_)op(op_)
 288 {
 289 }


Declaration at line 149 of Expression.hpp


Member Function Details

Accept Member Function

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

Definition at line 291 of Expression.cpp :
 292 {
 293     visitor.Visit(*this);
 294 }


Declaration at line 150 of Expression.hpp

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

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


Op Member Function

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

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


Read Member Function

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

Definition at line 302 of Expression.cpp :
 303 {
 304     BinaryNode::Read(reader);
 305     op = reader.ReadOperator();
 306 }


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

Definition at line 296 of Expression.cpp :
 297 {
 298     BinaryNode::Write(writer);
 299     writer.Write(op);
 300 }


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