summaryrefslogtreecommitdiff
path: root/src/include/sum.hpp
blob: 35d6736ca7b240d03e83a7cda6ee4a66345a807b (plain)
1
2
3
4
5
6
7
8
#pragma once
#include "syntax_tree.hpp"

class Sum: SyntaxTree {
public:
  Sum(SyntaxTree *left, SyntaxTree *right);
  float eval() const;
};