Lines Matching refs:isOneOf

350           ProbablyBracedList = NextTok->isOneOf(tok::comma, tok::r_square);  in calculateBraceTypes()
354 bool NextIsObjCMethod = NextTok->isOneOf(tok::plus, tok::minus) && in calculateBraceTypes()
367 NextTok->isOneOf(Keywords.kw_of, Keywords.kw_in)) || in calculateBraceTypes()
368 NextTok->isOneOf(tok::comma, tok::period, tok::colon, in calculateBraceTypes()
414 assert(FormatTok->isOneOf(tok::l_brace, TT_MacroBlockBegin) && in parseBlock()
671 !FormatTok->isOneOf(Keywords.kw_in, Keywords.kw_of, Keywords.kw_as, in mustBeJSIdent()
690 return FormatTok->isOneOf( in isJSDeclOrStmt()
738 Previous->isOneOf(tok::r_square, tok::r_paren, in readTokenWithJavaScriptASI()
903 if (FormatTok->isOneOf(Keywords.kw_signals, Keywords.kw_qsignals, in parseStructuralElement()
944 if (FormatTok->isOneOf(Keywords.kw_NS_ENUM, Keywords.kw_NS_OPTIONS, in parseStructuralElement()
1124 (Previous->isOneOf(tok::identifier, tok::kw_operator, tok::kw_new, in tryToParseLambda()
1188 if (!FormatTok->isOneOf(tok::comma, tok::identifier)) { in tryToParseLambdaIntroducer()
1200 if (!FormatTok->isOneOf(tok::identifier, tok::kw_this)) in tryToParseLambdaIntroducer()
1461 assert(FormatTok->isOneOf(tok::kw_try, tok::kw___try) && "'try' expected"); in parseTryCatch()
1499 if (!(FormatTok->isOneOf(tok::kw_catch, Keywords.kw___except, in parseTryCatch()
1513 if (FormatTok->isOneOf(tok::semi, tok::r_brace, tok::eof)) in parseTryCatch()
1534 while (FormatTok->isOneOf(tok::identifier, tok::coloncolon)) in parseNamespace()
1562 if (FormatTok->isOneOf(tok::semi, tok::l_brace, tok::r_brace)) in parseNew()
1579 assert(FormatTok->isOneOf(tok::kw_for, tok::kw_while, TT_ForEachMacro) && in parseForOrWhileLoop()
1676 if (FormatTok->isOneOf(Keywords.kw_slots, Keywords.kw_qslots)) in parseAccessSpecifier()
1693 FormatTok->isOneOf(tok::colon, tok::question)) in parseEnum()
1701 FormatTok->isOneOf(tok::colon, tok::coloncolon, tok::less, in parseEnum()
1756 if (Tok->isOneOf(tok::l_brace, tok::semi)) { in parseJavaEnumBody()
1814 while (FormatTok->isOneOf(tok::identifier, tok::coloncolon, tok::hashhash, in parseRecord()
1819 FormatTok->isOneOf(tok::period, tok::comma))) { in parseRecord()
1839 if (FormatTok->isOneOf(tok::colon, tok::less)) { in parseRecord()
1960 if (!IsImport && !FormatTok->isOneOf(tok::l_brace, tok::star) && in parseJavaScriptEs6ImportExport()