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.h3
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();