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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/cps/Parser.h b/include/cps/Parser.h
index 877c684..19f49be 100644
--- a/include/cps/Parser.h
+++ b/include/cps/Parser.h
@@ -5,6 +5,7 @@
#include <memory>
#include <map>
#include <tuple>
+#include <string>
namespace cps {
@@ -25,6 +26,7 @@ class Parser {
std::unique_ptr<ExprAST> ParseNumberExpr();
std::unique_ptr<ExprAST> ParseIdentifierExpr();
std::unique_ptr<ExprAST> ParseParenExpr();
+ std::string ParseTypeName(bool AllowVoid = false);
std::unique_ptr<ExprAST> ParseStringBuiltin(const std::string &FuncName);