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.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/cps/Parser.h b/include/cps/Parser.h
index 7d19c77..0ecb7f9 100644
--- a/include/cps/Parser.h
+++ b/include/cps/Parser.h
@@ -49,6 +49,11 @@ class Parser {
std::unique_ptr<StmtAST> ParseReturnStmt();
std::optional<std::vector<std::tuple<std::string, std::string, bool>>> ParsePrototypeArgs();
+ std::unique_ptr<StmtAST> ParseOpenFile();
+ std::unique_ptr<StmtAST> ParseReadFile();
+ std::unique_ptr<StmtAST> ParseWriteFile();
+ std::unique_ptr<StmtAST> ParseCloseFile();
+
public:
Parser(Lexer &L);
std::vector<std::unique_ptr<StmtAST>> Parse();