diff options
| author | _ov4 <hausemasterstream@gmail.com> | 2026-01-30 13:11:20 +0000 |
|---|---|---|
| committer | _ov4 <hausemasterstream@gmail.com> | 2026-01-30 13:11:20 +0000 |
| commit | bd799e42b40613983c6e3cb9aedf58866ac68605 (patch) | |
| tree | 03fdd0dffba45fa2a1d9b8d4b0e78f49140c07e5 /include/cps/Parser.h | |
| parent | 80420b0f92f42edc0a3cac4490a08adb8b2457dc (diff) | |
Added FUNCTION and PROCEDURE
Diffstat (limited to 'include/cps/Parser.h')
| -rw-r--r-- | include/cps/Parser.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/cps/Parser.h b/include/cps/Parser.h index f5be655..f328141 100644 --- a/include/cps/Parser.h +++ b/include/cps/Parser.h @@ -31,6 +31,12 @@ class Parser { std::unique_ptr<StmtAST> ParseForStmt(); std::unique_ptr<StmtAST> ParseDeclare(); + + std::unique_ptr<StmtAST> ParseFunction(); + std::unique_ptr<StmtAST> ParseProcedure(); + std::unique_ptr<StmtAST> ParseCallStmt(); + std::unique_ptr<StmtAST> ParseReturnStmt(); + std::vector<std::pair<std::string, std::string>> ParsePrototypeArgs(); public: Parser(Lexer &L); |
