Lines Matching refs:ErrorU

278 std::unique_ptr<T> ErrorU(const std::string &Str) {  in ErrorU()  function
314 return ErrorU<CallExprAST>("Expected ')' or ',' in argument list"); in ParseIdentifierExpr()
340 return ErrorU<ExprAST>("expected ')'"); in ParseParenExpr()
355 return ErrorU<ExprAST>("expected then"); in ParseIfExpr()
363 return ErrorU<ExprAST>("expected else"); in ParseIfExpr()
380 return ErrorU<ForExprAST>("expected identifier after for"); in ParseForExpr()
386 return ErrorU<ForExprAST>("expected '=' after for"); in ParseForExpr()
394 return ErrorU<ForExprAST>("expected ',' after for start value"); in ParseForExpr()
411 return ErrorU<ForExprAST>("expected 'in' after for"); in ParseForExpr()
431 return ErrorU<VarExprAST>("expected identifier after var"); in ParseVarExpr()
454 return ErrorU<VarExprAST>("expected identifier list after var"); in ParseVarExpr()
459 return ErrorU<VarExprAST>("expected 'in' keyword after 'var'"); in ParseVarExpr()
478 default: return ErrorU<ExprAST>("unknown token when expecting an expression"); in ParsePrimary()
563 return ErrorU<PrototypeAST>("Expected function name in prototype"); in ParsePrototype()
572 return ErrorU<PrototypeAST>("Expected unary operator"); in ParsePrototype()
581 return ErrorU<PrototypeAST>("Expected binary operator"); in ParsePrototype()
590 return ErrorU<PrototypeAST>("Invalid precedecnce: must be 1..100"); in ParsePrototype()
598 return ErrorU<PrototypeAST>("Expected '(' in prototype"); in ParsePrototype()
604 return ErrorU<PrototypeAST>("Expected ')' in prototype"); in ParsePrototype()
611 return ErrorU<PrototypeAST>("Invalid number of operands for operator"); in ParsePrototype()