aboutsummaryrefslogtreecommitdiff
path: root/include/cps/Parser.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/cps/Parser.h')
-rw-r--r--include/cps/Parser.h6
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);