reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
3264 const FormatToken &Left = *Right.Previous; 3271 if (Right.isOneOf(Keywords.kw_throws, Keywords.kw_extends, 3275 const FormatToken *NonComment = Right.getPreviousNonComment(); 3284 if (Right.NestingLevel == 0 && 3287 Right.isOneOf(tok::l_square, tok::l_paren)) 3289 if (Left.is(TT_JsFatArrow) && Right.is(tok::l_brace)) 3294 if (Left.is(tok::exclaim) && Right.is(tok::colon)) 3299 if (Right.is(Keywords.kw_is)) { 3300 const FormatToken *Next = Right.getNextNonComment(); 3313 if (Right.is(Keywords.kw_in)) 3315 if (Right.is(Keywords.kw_as)) 3317 if (Right.isOneOf(Keywords.kw_extends, Keywords.kw_infer)) { 3328 Right.isOneOf(Keywords.kw_module, tok::kw_namespace, 3336 Right.isOneOf(tok::identifier, tok::string_literal)) 3338 if (Right.is(TT_TemplateString) && Right.closesScope()) 3338 if (Right.is(TT_TemplateString) && Right.closesScope()) 3342 if (Left.is(tok::identifier) && Right.is(TT_TemplateString)) { 3354 return !Right.is(tok::l_paren); 3355 if (Right.is(TT_PointerOrReference)) 3358 (!Right.Next || Right.Next->isNot(TT_FunctionDeclarationName))); 3358 (!Right.Next || Right.Next->isNot(TT_FunctionDeclarationName))); 3359 if (Right.isOneOf(TT_StartOfName, TT_FunctionDeclarationName) || 3360 Right.is(tok::kw_operator)) 3364 if (Right.isTrailingComment()) 3373 if (Left.is(tok::question) && Right.is(tok::colon)) 3375 if (Right.is(TT_ConditionalExpr) || Right.is(tok::question)) 3375 if (Right.is(TT_ConditionalExpr) || Right.is(tok::question)) 3381 if (Right.is(TT_InheritanceColon)) 3383 if (Right.is(TT_ObjCMethodExpr) && !Right.is(tok::r_square) && 3383 if (Right.is(TT_ObjCMethodExpr) && !Right.is(tok::r_square) && 3387 if (Right.is(tok::colon) && 3388 !Right.isOneOf(TT_CtorInitializerColon, TT_InlineASMColon)) 3393 if (!Style.AlwaysBreakBeforeMultilineStrings && Right.isStringLiteral()) 3419 if (((Right.is(tok::l_brace) || Right.is(tok::less)) && 3419 if (((Right.is(tok::l_brace) || Right.is(tok::less)) && 3420 Right.is(TT_DictLiteral)) || 3421 Right.is(TT_ArrayInitializerLSquare)) 3426 if (Right.is(tok::r_square) && Right.MatchingParen && 3426 if (Right.is(tok::r_square) && Right.MatchingParen && 3427 Right.MatchingParen->is(TT_ProtoExtensionLSquare)) 3429 if (Right.is(TT_SelectorName) || (Right.is(tok::identifier) && Right.Next && 3429 if (Right.is(TT_SelectorName) || (Right.is(tok::identifier) && Right.Next && 3429 if (Right.is(TT_SelectorName) || (Right.is(tok::identifier) && Right.Next && 3430 Right.Next->is(TT_ObjCMethodExpr))) 3436 if (Right.isOneOf(TT_RangeBasedForLoopColon, TT_OverloadedOperatorLParen, 3441 if (Right.is(TT_RangeBasedForLoopColon)) 3443 if (Left.is(TT_TemplateCloser) && Right.is(TT_TemplateOpener)) 3448 if (Left.is(tok::equal) && !Right.isOneOf(tok::kw_default, tok::kw_delete) && 3451 if (Left.is(tok::equal) && Right.is(tok::l_brace) && 3459 if (Right.is(TT_ImplicitStringLiteral)) 3462 if (Right.is(tok::r_paren) || Right.is(TT_TemplateCloser)) 3462 if (Right.is(tok::r_paren) || Right.is(TT_TemplateCloser)) 3464 if (Right.is(tok::r_square) && Right.MatchingParen && 3464 if (Right.is(tok::r_square) && Right.MatchingParen && 3465 Right.MatchingParen->is(TT_LambdaLSquare)) 3470 if (Right.is(tok::r_brace)) 3471 return Right.MatchingParen && Right.MatchingParen->BlockKind == BK_Block; 3471 return Right.MatchingParen && Right.MatchingParen->BlockKind == BK_Block; 3476 return !Right.isOneOf(tok::l_brace, tok::semi, tok::equal, tok::l_paren, 3479 if (Right.is(tok::kw___attribute) || 3480 (Right.is(tok::l_square) && Right.is(TT_AttributeSquare))) 3480 (Right.is(tok::l_square) && Right.is(TT_AttributeSquare))) 3483 if (Left.is(tok::identifier) && Right.is(tok::string_literal)) 3486 if (Right.is(tok::identifier) && Right.Next && Right.Next->is(TT_DictLiteral)) 3486 if (Right.is(tok::identifier) && Right.Next && Right.Next->is(TT_DictLiteral)) 3486 if (Right.is(tok::identifier) && Right.Next && Right.Next->is(TT_DictLiteral)) 3491 if (Right.is(TT_CtorInitializerColon)) 3496 if (Right.is(TT_CtorInitializerComma) && 3502 if (Right.is(TT_InheritanceComma) && 3505 if ((Left.is(tok::greater) && Right.is(tok::greater)) || 3506 (Left.is(tok::less) && Right.is(tok::less))) 3508 if (Right.is(TT_BinaryOperator) && 3511 Right.getPrecedence() != prec::Assignment)) 3515 if (Right.is(tok::kw_typename) && Left.isNot(tok::kw_const)) 3523 if ((Left.is(TT_AttributeSquare) && Right.is(tok::l_square)) || 3524 (Left.is(tok::r_square) && Right.is(TT_AttributeSquare))) 3528 Right.isMemberAccess() || 3529 Right.isOneOf(TT_TrailingReturnArrow, TT_LambdaArrow, tok::lessless, 3532 Right.isOneOf(tok::identifier, tok::kw_const)) || 3533 (Left.is(tok::l_paren) && !Right.is(tok::r_paren)) || 3534 (Left.is(TT_TemplateOpener) && !Right.is(TT_TemplateCloser));