• Home
  • Raw
  • Download

Lines Matching refs:isOneOf

465         if (PrevTok->isOneOf(tok::colon, tok::less))  in calculateBraceTypes()
490 ProbablyBracedList = NextTok->isOneOf(tok::comma, tok::r_square); in calculateBraceTypes()
494 bool NextIsObjCMethod = NextTok->isOneOf(tok::plus, tok::minus) && in calculateBraceTypes()
507 NextTok->isOneOf(Keywords.kw_of, Keywords.kw_in, in calculateBraceTypes()
510 NextTok->isOneOf(tok::comma, tok::period, tok::colon, in calculateBraceTypes()
514 !PrevTok->isOneOf(tok::semi, tok::r_brace, tok::l_brace)) || in calculateBraceTypes()
584 assert(FormatTok->isOneOf(tok::l_brace, TT_MacroBlockBegin) && in parseBlock()
689 if (InitialToken.isOneOf(tok::kw_namespace, TT_NamespaceMacro)) in ShouldBreakBeforeBrace()
876 if (!Line.Tokens.front().Tok->isOneOf(tok::comment, tok::hash)) { in parsePPDefine()
945 !FormatTok->isOneOf( in mustBeJSIdent()
958 FormatTok->isOneOf(tok::kw_true, tok::kw_false) || in mustBeJSIdentOrValue()
966 return FormatTok->isOneOf( in isJSDeclOrStmt()
1022 Previous->isOneOf(tok::r_square, tok::r_paren, tok::plusplus, in readTokenWithJavaScriptASI()
1185 FormatTok->isOneOf(Keywords.kw_signals, Keywords.kw_qsignals, in parseStructuralElement()
1298 if (FormatTok->isOneOf(Keywords.kw_NS_ENUM, Keywords.kw_NS_OPTIONS, in parseStructuralElement()
1538 if (Tok->isOneOf(tok::semi, tok::kw_public, tok::kw_private, in tryToParsePropertyAccessor()
1541 if (Tok->isOneOf(Keywords.kw_get, Keywords.kw_set)) in tryToParsePropertyAccessor()
1593 if (FormatTok->isOneOf(Keywords.kw_get, Keywords.kw_set) && in tryToParsePropertyAccessor()
1705 (Previous->isOneOf(tok::identifier, tok::kw_operator, tok::kw_new, in tryToParseLambdaIntroducer()
1753 while (!FormatTok->isOneOf(tok::l_brace, tok::semi) && !eof()) in tryToParseJSFunction()
1980 if (FormatTok->Tok.isOneOf(tok::kw_constexpr, tok::identifier)) in parseIfThenElse()
2026 assert(FormatTok->isOneOf(tok::kw_try, tok::kw___try) && "'try' expected"); in parseTryCatch()
2073 if (!(FormatTok->isOneOf(tok::kw_catch, Keywords.kw___except, in parseTryCatch()
2087 if (FormatTok->isOneOf(tok::semi, tok::r_brace, tok::eof)) in parseTryCatch()
2104 assert(FormatTok->isOneOf(tok::kw_namespace, TT_NamespaceMacro) && in parseNamespace()
2112 while (FormatTok->isOneOf(tok::identifier, tok::coloncolon, tok::kw_inline, in parseNamespace()
2146 if (FormatTok->isOneOf(tok::semi, tok::comma)) in parseNew()
2159 if (FormatTok->isOneOf(tok::semi, tok::l_brace, tok::r_brace)) in parseNew()
2176 assert(FormatTok->isOneOf(tok::kw_for, tok::kw_while, TT_ForEachMacro) && in parseForOrWhileLoop()
2288 if (FormatTok->isOneOf(Keywords.kw_slots, Keywords.kw_qslots)) in parseAccessSpecifier()
2338 FormatTok->isOneOf(tok::identifier, tok::kw_requires, tok::coloncolon)) { in parseConstraintExpression()
2340 while (FormatTok->isOneOf(tok::identifier, tok::coloncolon, tok::less, in parseConstraintExpression()
2374 if (!FormatTok->Tok.isOneOf(tok::ampamp, tok::pipepipe)) { in parseConstraintExpression()
2376 !FormatTok->Previous->isOneOf(tok::identifier, tok::kw_requires, in parseConstraintExpression()
2416 FormatTok->isOneOf(tok::colon, tok::question)) in parseEnum()
2428 FormatTok->isOneOf(tok::colon, tok::coloncolon, tok::less, in parseEnum()
2537 if (Tok->isOneOf(tok::l_brace, tok::semi)) { in parseJavaEnumBody()
2597 while (FormatTok->isOneOf(tok::identifier, tok::coloncolon, tok::hashhash, in parseRecord()
2602 FormatTok->isOneOf(tok::period, tok::comma))) { in parseRecord()
2604 FormatTok->isOneOf(Keywords.kw_extends, Keywords.kw_implements)) { in parseRecord()
2641 if (FormatTok->isOneOf(tok::colon, tok::less)) { in parseRecord()
2676 assert(FormatTok->Tok.isOneOf(tok::l_paren, tok::identifier) && in parseObjCMethod()
2700 if (FormatTok->isOneOf(tok::semi, tok::l_brace) || in parseObjCProtocolList()
2722 } else if (FormatTok->isOneOf(tok::minus, tok::plus)) { in parseObjCUntilAtEnd()
2782 if (FormatTok->isOneOf(tok::semi, tok::l_brace) || in parseObjCLightweightGenerics()
2850 if (!IsImport && !FormatTok->isOneOf(tok::l_brace, tok::star) && in parseJavaScriptEs6ImportExport()