aboutsummaryrefslogtreecommitdiff
path: root/include/cps/Parser.h
diff options
context:
space:
mode:
authorov-4 <hausemasterstream@gmail.com>2026-01-29 13:02:49 +0000
committerov-4 <hausemasterstream@gmail.com>2026-01-29 13:02:49 +0000
commit4573880fcc32bd76a72a4ae713190cd997194583 (patch)
tree3ce19dc8805996f65ba60b0f2144cce89c46ea1f /include/cps/Parser.h
parent73634b66d412735c292b3941d1281ff0a3c9e5a1 (diff)
Added loop statements, FOR, WHILE and REPEAT
Diffstat (limited to 'include/cps/Parser.h')
-rw-r--r--include/cps/Parser.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/cps/Parser.h b/include/cps/Parser.h
index 58b6366..b685fb2 100644
--- a/include/cps/Parser.h
+++ b/include/cps/Parser.h
@@ -26,6 +26,9 @@ class Parser {
std::unique_ptr<StmtAST> ParseStatement();
std::unique_ptr<StmtAST> ParseIfStmt();
+ std::unique_ptr<StmtAST> ParseWhileStmt();
+ std::unique_ptr<StmtAST> ParseRepeatStmt();
+ std::unique_ptr<StmtAST> ParseForStmt();
public:
Parser(Lexer &L);