reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
223 return Parser.Error(Lexer.getTok().getLoc(), Msg); 273 auto Ok = Lexer.is(Kind); 282 Lexer.getTok()); 287 if (!Lexer.is(AsmToken::Identifier)) { 288 error("Expected identifier, got: ", Lexer.getTok()); 291 auto Name = Lexer.getTok().getString(); 330 while (Lexer.is(AsmToken::Identifier)) { 331 auto Type = parseType(Lexer.getTok().getString()); 333 return error("unknown type: ", Lexer.getTok()); 343 auto &Int = Lexer.getTok(); 354 auto &Flt = Lexer.getTok(); 368 if (Lexer.isNot(AsmToken::Identifier)) 370 auto &Flt = Lexer.getTok(); 402 if (!Lexer.is(AsmToken::Integer)) 410 auto Tok = Lexer.getTok(); 436 auto &Sep = Lexer.getTok(); 444 auto &Id = Lexer.getTok(); 502 if (ExpectFuncType || (ExpectBlockType && Lexer.is(AsmToken::LParen))) { 527 while (Lexer.isNot(AsmToken::EndOfStatement)) { 528 auto &Tok = Lexer.getTok(); 533 auto &Id = Lexer.getTok(); 546 return error("Cannot parse symbol: ", Lexer.getTok()); 557 if (Lexer.is(AsmToken::Integer)) { 561 } else if(Lexer.is(AsmToken::Real)) { 567 Lexer.getTok()); 584 if (!Lexer.is(AsmToken::RCurly)) 586 Op->BrL.List.push_back(Lexer.getTok().getIntVal()); 598 if (Lexer.isNot(AsmToken::EndOfStatement)) { 639 Lexer.getTok()); 669 auto TypeTok = Lexer.getTok(); 734 Lexer.getTok()); 751 return error("Cannot parse .int expression: ", Lexer.getTok()); 762 return error("Cannot parse string constant: ", Lexer.getTok());