diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/cps/Parser.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/cps/Parser.h b/include/cps/Parser.h index c9fe186..fbccb3c 100644 --- a/include/cps/Parser.h +++ b/include/cps/Parser.h @@ -49,6 +49,9 @@ class Parser { std::string ParseOperatorName(int *Op = nullptr); bool ParseCalleeName(std::string &Name); std::unique_ptr<ExprAST> ParseParenExpr(); + bool ParseOptionalCallArgs(std::vector<std::unique_ptr<ExprAST>> &Args); + bool diagnoseResultAccess(); + static bool isBuiltinTypeToken(int Tok); std::unique_ptr<MemberCallExprAST> ParseMemberCall( const std::string &Name, std::vector<DesignatorAccess> Accesses, int Line); std::string ParseTypeName(bool AllowVoid = false); |
