Lines Matching defs:expect
291 bool expect(AsmToken::TokenKind Kind, const char *KindName) {
414 if (expect(AsmToken::Equal, "="))
601 expect(AsmToken::Integer, "integer");
605 expect(AsmToken::RCurly, "}");
613 if (expect(AsmToken::Comma, ","))
631 if (expect(AsmToken::LParen, "("))
635 if (expect(AsmToken::RParen, ")"))
637 if (expect(AsmToken::MinusGreater, "->"))
639 if (expect(AsmToken::LParen, "("))
643 if (expect(AsmToken::RParen, ")"))
681 if (expect(AsmToken::Comma, ","))
697 return expect(AsmToken::EndOfStatement, "EOL");
726 return expect(AsmToken::EndOfStatement, "EOL");
733 if (expect(AsmToken::Comma, ","))
745 if (expect(AsmToken::Comma, ","))
757 if (expect(AsmToken::Comma, ","))
778 return expect(AsmToken::EndOfStatement, "EOL");
790 return expect(AsmToken::EndOfStatement, "EOL");
805 return expect(AsmToken::EndOfStatement, "EOL");
814 return expect(AsmToken::EndOfStatement, "EOL");