From 0f92a54ba91023e7e88d6cabc8f2f78901f62a40 Mon Sep 17 00:00:00 2001 From: ov-4 Date: Thu, 29 Jan 2026 12:19:20 +0000 Subject: Added IF statement --- include/cps/AST.h | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'include/cps/AST.h') 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> &getElseStmts() const { return ElseStmts; } }; -class BinaryExprAST : public ExprAST { - char Op; - std::unique_ptr LHS, RHS; -public: - BinaryExprAST(char Op, std::unique_ptr LHS, std::unique_ptr 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 -- cgit v1.3.1-4-g156e