aboutsummaryrefslogtreecommitdiff
path: root/include/cps/AST.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/cps/AST.h')
-rw-r--r--include/cps/AST.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/include/cps/AST.h b/include/cps/AST.h
index 7791580..3c58642 100644
--- a/include/cps/AST.h
+++ b/include/cps/AST.h
@@ -86,15 +86,5 @@ public:
const std::vector<std::unique_ptr<StmtAST>> &getElseStmts() const { return ElseStmts; }
};
-class BinaryExprAST : public ExprAST {
- char Op;
- std::unique_ptr<ExprAST> LHS, RHS;
-public:
- BinaryExprAST(char Op, std::unique_ptr<ExprAST> LHS, std::unique_ptr<ExprAST> RHS)
- : Op(Op), LHS(std::move(LHS)), RHS(std::move(RHS)) {}
- char getOp() const { return Op; }
- ExprAST *getLHS() const { return LHS.get(); }
- ExprAST *getRHS() const { return RHS.get(); }
-};
} // namespace cps