sapphirec
The Sapphire documentation
BinaryOpNode.h
Go to the documentation of this file.
1 #pragma once
2 #include "ExprNode.h"
3 
4 class BinaryOpNode : public ExprNode
5 {
6  protected:
7  std::shared_ptr<ExprNode> left;
8  std::shared_ptr<ExprNode> right;
9 
10  public:
11  BinaryOpNode(std::shared_ptr<ExprNode> left, std::shared_ptr<ExprNode> right);
12  ~BinaryOpNode();
13 };
Definition: BinaryOpNode.h:5
BinaryOpNode(std::shared_ptr< ExprNode > left, std::shared_ptr< ExprNode > right)
Definition: BinaryOpNode.cpp:3
~BinaryOpNode()
Definition: BinaryOpNode.cpp:8
std::shared_ptr< ExprNode > left
Definition: BinaryOpNode.h:7
std::shared_ptr< ExprNode > right
Definition: BinaryOpNode.h:8
Definition: ExprNode.h:5