sapphirec
The Sapphire documentation
BinaryOpNode Class Reference

#include <BinaryOpNode.h>

Inheritance diagram for BinaryOpNode:
ExprNode ASTNode MulNode SumNode

Public Member Functions

 BinaryOpNode (std::shared_ptr< ExprNode > left, std::shared_ptr< ExprNode > right)
 
 ~BinaryOpNode ()
 
- Public Member Functions inherited from ExprNode
 ExprNode (std::shared_ptr< ExprNode > child)
 
 ExprNode ()
 
 ~ExprNode ()
 
- Public Member Functions inherited from ASTNode
 ASTNode ()
 
 ~ASTNode ()
 

Protected Attributes

std::shared_ptr< ExprNodeleft
 
std::shared_ptr< ExprNoderight
 

Constructor & Destructor Documentation

◆ BinaryOpNode()

BinaryOpNode::BinaryOpNode ( std::shared_ptr< ExprNode left,
std::shared_ptr< ExprNode right 
)

◆ ~BinaryOpNode()

BinaryOpNode::~BinaryOpNode ( )

Member Data Documentation

◆ left

std::shared_ptr<ExprNode> BinaryOpNode::left
protected

◆ right

std::shared_ptr<ExprNode> BinaryOpNode::right
protected

The documentation for this class was generated from the following files: