Lines Matching refs:getTok

290     return Parser.Error(Lexer.getTok().getLoc(), Msg);  in error()
358 Lexer.getTok()); in expect()
364 error("Expected identifier, got: ", Lexer.getTok()); in expectIdent()
367 auto Name = Lexer.getTok().getString(); in expectIdent()
374 auto Type = WebAssembly::parseType(Lexer.getTok().getString()); in parseRegTypeList()
376 return error("unknown type: ", Lexer.getTok()); in parseRegTypeList()
386 auto &Int = Lexer.getTok(); in parseSingleInteger()
397 auto &Flt = Lexer.getTok(); in parseSingleFloat()
413 auto &Flt = Lexer.getTok(); in parseSpecialFloatMaybe()
460 auto Tok = Lexer.getTok(); in checkForP2AlignIfLoadStore()
482 auto Tok = Lexer.getTok(); in parseLimits()
492 auto Tok = Lexer.getTok(); in parseLimits()
509 auto &Tok = Lexer.getTok(); in parseFunctionTableOperand()
549 auto &Sep = Lexer.getTok(); in ParseInstruction()
557 auto &Id = Lexer.getTok(); in ParseInstruction()
636 auto Loc = Parser.getTok(); in ParseInstruction()
660 auto &Tok = Lexer.getTok(); in ParseInstruction()
665 auto &Id = Lexer.getTok(); in ParseInstruction()
687 return error("Cannot parse symbol: ", Lexer.getTok()); in ParseInstruction()
708 Lexer.getTok()); in ParseInstruction()
727 Op->BrL.List.push_back(Lexer.getTok().getIntVal()); in ParseInstruction()
777 Lexer.getTok()); in CheckDataSection()
807 auto TypeTok = Lexer.getTok(); in ParseDirective()
819 TypeTok = Lexer.getTok(); in ParseDirective()
845 auto ElemTypeTok = Lexer.getTok(); in ParseDirective()
952 Lexer.getTok()); in ParseDirective()
970 return error("Cannot parse .int expression: ", Lexer.getTok()); in ParseDirective()
981 return error("Cannot parse string constant: ", Lexer.getTok()); in ParseDirective()
1081 Parser.Error(Parser.getTok().getLoc(), in doBeforeLabelEmit()