aboutsummaryrefslogtreecommitdiff
path: root/include/cps/AST.h
diff options
context:
space:
mode:
authorov-4 <hausemasterstream@gmail.com>2026-01-29 12:19:20 +0000
committerov-4 <hausemasterstream@gmail.com>2026-01-29 12:19:20 +0000
commit0f92a54ba91023e7e88d6cabc8f2f78901f62a40 (patch)
treefb1c669da86bb3a3ff8bfae463cabec8e7879992 /include/cps/AST.h
parent05c19789d5e1b5edd050ee97c19a8ab86ec9e0f6 (diff)
Added IF statement
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