Lines Matching refs:getTok
284 return Parser.Error(Loc.isValid() ? Loc : 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()
631 auto Loc = Parser.getTok(); in ParseInstruction()
653 auto &Tok = Lexer.getTok(); in ParseInstruction()
658 auto &Id = Lexer.getTok(); in ParseInstruction()
672 return error("Cannot parse symbol: ", Lexer.getTok()); in ParseInstruction()
693 Lexer.getTok()); in ParseInstruction()
712 Op->BrL.List.push_back(Lexer.getTok().getIntVal()); in ParseInstruction()
762 Lexer.getTok()); in CheckDataSection()
784 auto TypeTok = Lexer.getTok(); in parseDirective()
796 TypeTok = Lexer.getTok(); in parseDirective()
823 auto ElemTypeTok = Lexer.getTok(); in parseDirective()
953 Lexer.getTok()); in parseDirective()
972 return error("Cannot parse .int expression: ", Lexer.getTok()); in parseDirective()
984 return error("Cannot parse string constant: ", Lexer.getTok()); in parseDirective()