Lines Matching refs:getTok
291 return Parser.Error(Lexer.getTok().getLoc(), Msg); in error()
359 Lexer.getTok()); in expect()
365 error("Expected identifier, got: ", Lexer.getTok()); in expectIdent()
368 auto Name = Lexer.getTok().getString(); in expectIdent()
375 auto Type = WebAssembly::parseType(Lexer.getTok().getString()); in parseRegTypeList()
377 return error("unknown type: ", Lexer.getTok()); in parseRegTypeList()
387 auto &Int = Lexer.getTok(); in parseSingleInteger()
398 auto &Flt = Lexer.getTok(); in parseSingleFloat()
414 auto &Flt = Lexer.getTok(); in parseSpecialFloatMaybe()
461 auto Tok = Lexer.getTok(); in checkForP2AlignIfLoadStore()
483 auto Tok = Lexer.getTok(); in parseLimits()
493 auto Tok = Lexer.getTok(); in parseLimits()
510 auto &Tok = Lexer.getTok(); in parseFunctionTableOperand()
550 auto &Sep = Lexer.getTok(); in ParseInstruction()
558 auto &Id = Lexer.getTok(); in ParseInstruction()
634 auto Loc = Parser.getTok(); in ParseInstruction()
658 auto &Tok = Lexer.getTok(); in ParseInstruction()
663 auto &Id = Lexer.getTok(); in ParseInstruction()
677 return error("Cannot parse symbol: ", Lexer.getTok()); in ParseInstruction()
698 Lexer.getTok()); in ParseInstruction()
717 Op->BrL.List.push_back(Lexer.getTok().getIntVal()); in ParseInstruction()
767 Lexer.getTok()); in CheckDataSection()
797 auto TypeTok = Lexer.getTok(); in ParseDirective()
809 TypeTok = Lexer.getTok(); in ParseDirective()
834 auto ElemTypeTok = Lexer.getTok(); in ParseDirective()
941 Lexer.getTok()); in ParseDirective()
959 return error("Cannot parse .int expression: ", Lexer.getTok()); in ParseDirective()
970 return error("Cannot parse string constant: ", Lexer.getTok()); in ParseDirective()
1070 Parser.Error(Parser.getTok().getLoc(), in doBeforeLabelEmit()