Lines Matching refs:getTok
287 return Parser.Error(Loc.isValid() ? Loc : Lexer.getTok().getLoc(), Msg); in error()
371 Lexer.getTok()); in expect()
377 error("Expected identifier, got: ", Lexer.getTok()); in expectIdent()
380 auto Name = Lexer.getTok().getString(); in expectIdent()
387 auto Type = WebAssembly::parseType(Lexer.getTok().getString()); in parseRegTypeList()
389 return error("unknown type: ", Lexer.getTok()); in parseRegTypeList()
399 auto &Int = Lexer.getTok(); in parseSingleInteger()
410 auto &Flt = Lexer.getTok(); in parseSingleFloat()
426 auto &Flt = Lexer.getTok(); in parseSpecialFloatMaybe()
473 auto Tok = Lexer.getTok(); in checkForP2AlignIfLoadStore()
495 auto Tok = Lexer.getTok(); in parseLimits()
505 auto Tok = Lexer.getTok(); in parseLimits()
522 auto &Tok = Lexer.getTok(); in parseFunctionTableOperand()
562 auto &Sep = Lexer.getTok(); in ParseInstruction()
570 auto &Id = Lexer.getTok(); in ParseInstruction()
643 auto Loc = Parser.getTok(); in ParseInstruction()
667 auto &Tok = Lexer.getTok(); in ParseInstruction()
672 auto &Id = Lexer.getTok(); in ParseInstruction()
686 return error("Cannot parse symbol: ", Lexer.getTok()); in ParseInstruction()
707 Lexer.getTok()); in ParseInstruction()
726 Op->BrL.List.push_back(Lexer.getTok().getIntVal()); in ParseInstruction()
776 Lexer.getTok()); in CheckDataSection()
798 auto TypeTok = Lexer.getTok(); in parseDirective()
810 TypeTok = Lexer.getTok(); in parseDirective()
837 auto ElemTypeTok = Lexer.getTok(); in parseDirective()
966 Lexer.getTok()); in parseDirective()
985 return error("Cannot parse .int expression: ", Lexer.getTok()); in parseDirective()
997 return error("Cannot parse string constant: ", Lexer.getTok()); in parseDirective()