diff options
| author | ov-4 <hausemasterstream@gmail.com> | 2026-01-29 11:13:05 +0000 |
|---|---|---|
| committer | ov-4 <hausemasterstream@gmail.com> | 2026-01-29 11:13:05 +0000 |
| commit | 05c19789d5e1b5edd050ee97c19a8ab86ec9e0f6 (patch) | |
| tree | 4fd26a6611084908c445c61a285ebf849d571e57 /include/cps/Parser.h | |
| parent | f1fedc36ec54578be4983d2fc6abee999dbc51c2 (diff) | |
Added half way of IF statement
Diffstat (limited to 'include/cps/Parser.h')
| -rw-r--r-- | include/cps/Parser.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/cps/Parser.h b/include/cps/Parser.h index 1b27a22..c5d0c97 100644 --- a/include/cps/Parser.h +++ b/include/cps/Parser.h @@ -24,6 +24,9 @@ class Parser { std::unique_ptr<ExprAST> ParseIdentifierExpr(); std::unique_ptr<ExprAST> ParseParenExpr(); + std::unique_ptr<StmtAST> ParseStatement(); + std::unique_ptr<StmtAST> ParseIfStmt(); + public: Parser(Lexer &L); std::vector<std::unique_ptr<StmtAST>> Parse(); |
