Lines Matching refs:isOneOf
44 Previous->isOneOf(tok::kw_return, TT_RequiresClause)); in shouldUnindentNextOperator()
109 End->Next->MatchingParen->isOneOf( in getLengthToMatchingParen()
304 Previous.Previous->isOneOf(tok::l_brace, tok::l_paren, tok::comma)) { in canBreak()
338 if (!Current.isOneOf(TT_BinaryOperator, tok::comma) && in canBreak()
412 !Current.isOneOf(tok::r_paren, tok::r_brace)) { in mustBreak()
492 !Previous.isOneOf(tok::kw_return, tok::lessless, tok::at, in mustBreak()
494 !Previous.isOneOf(TT_InlineASMColon, TT_ConditionalExpr) && in mustBreak()
603 !Current.isOneOf(tok::r_brace, tok::comment)) { in mustBreak()
686 if (Current.isOneOf(tok::comment, tok::l_paren, TT_LambdaLSquare)) in addTokenOnCurrentLine()
704 !Next->isOneOf(TT_LambdaLSquare, tok::l_brace, tok::caret); in addTokenOnCurrentLine()
785 if (!Tok.isOneOf(tok::l_paren, TT_TemplateOpener, tok::l_square) && in addTokenOnCurrentLine()
793 return !Tok.Previous->isOneOf(TT_CastRParen, tok::kw_for, tok::kw_while, in addTokenOnCurrentLine()
822 Previous.isOneOf(BK_BracedInit, TT_VerilogMultiLineListLParen))) { in addTokenOnCurrentLine()
855 (P->isOneOf(TT_BinaryOperator, tok::comma) || in addTokenOnCurrentLine()
857 !P->isOneOf(TT_OverloadedOperator, TT_CtorInitializerComma) && in addTokenOnCurrentLine()
887 } else if (!Current.isOneOf(tok::comment, tok::caret) && in addTokenOnCurrentLine()
898 } else if (Previous.isOneOf(TT_ConditionalExpr, TT_CtorInitializerColon)) { in addTokenOnCurrentLine()
994 !Current.isOneOf(Keywords.kw_async, Keywords.kw_function))) { in addTokenOnNewLine()
1019 PreviousNonComment->isOneOf(TT_ObjCMethodExpr, TT_DictLiteral)) { in addTokenOnNewLine()
1037 PreviousNonComment->isOneOf(tok::comma, tok::semi) && in addTokenOnNewLine()
1043 (PreviousNonComment->isOneOf(TT_TemplateCloser, TT_JavaAnnotation) || in addTokenOnNewLine()
1134 !PreviousNonComment->isOneOf(tok::comma, tok::colon, tok::semi) && in addTokenOnNewLine()
1138 !PreviousNonComment->isOneOf( in addTokenOnNewLine()
1152 (PreviousNonComment->isOneOf(tok::l_brace, TT_ArrayInitializerLSquare) || in addTokenOnNewLine()
1173 if (!(Previous.isOneOf(tok::l_paren, tok::l_brace, TT_BinaryOperator) || in addTokenOnNewLine()
1221 Current.isOneOf(Keywords.kw_implements, Keywords.kw_extends)) { in getNewLineColumn()
1248 if ((Current.isOneOf(tok::r_brace, tok::r_square) || in getNewLineColumn()
1274 Current.Next->isOneOf(tok::semi, tok::kw_const, tok::l_brace))) { in getNewLineColumn()
1296 (Style.isProto() && Current.Next->isOneOf(tok::less, tok::l_brace)))) { in getNewLineColumn()
1348 if (NextNonComment->isOneOf(TT_CtorInitializerColon, TT_InheritanceColon, in getNewLineColumn()
1357 PreviousNonComment->isOneOf( in getNewLineColumn()
1361 NextNonComment->isOneOf(tok::kw_operator, TT_FunctionDeclarationName))) { in getNewLineColumn()
1418 if (NextNonComment->isOneOf(TT_StartOfName, TT_PointerOrReference) || in getNewLineColumn()
1419 Previous.isOneOf(tok::coloncolon, tok::equal, TT_JsTypeColon)) { in getNewLineColumn()
1423 PreviousNonComment->isOneOf(TT_ObjCMethodExpr, TT_DictLiteral)) { in getNewLineColumn()
1437 !Current.isOneOf(tok::colon, tok::comment)) { in getNewLineColumn()
1452 !PreviousNonComment->isOneOf(tok::r_brace, TT_CtorInitializerComma)) { in getNewLineColumn()
1480 if (Current.isOneOf(tok::comma, TT_BinaryOperator)) in moveStateToNextToken()
1482 if (Current.isOneOf(TT_InheritanceColon, TT_CSharpGenericTypeConstraintColon)) in moveStateToNextToken()
1566 if (Current.isOneOf(TT_BinaryOperator, TT_ConditionalExpr) && Newline) in moveStateToNextToken()
1568 if (Current.isOneOf(TT_LambdaLSquare, TT_TrailingReturnArrow)) in moveStateToNextToken()
1585 Previous && Previous->isOneOf(tok::l_brace, TT_ArrayInitializerLSquare) && in moveStateToNextToken()
1593 if (Previous && (Previous->isOneOf(TT_BinaryOperator, TT_ConditionalExpr) || in moveStateToNextToken()
1594 (Previous->isOneOf(tok::l_paren, tok::comma, tok::colon) && in moveStateToNextToken()
1595 !Previous->isOneOf(TT_DictLiteral, TT_ObjCMethodExpr)))) { in moveStateToNextToken()
1618 } else if (!Current.isOneOf(tok::comment, tok::identifier, tok::hash) && in moveStateToNextToken()
1666 Previous->isOneOf(tok::semi, tok::kw_return, TT_RequiresClause) || in moveStatePastFakeLParens()
1784 if (Current.isOneOf(tok::less, tok::l_paren) && in moveStatePastScopeOpener()
1800 if (Current.isOneOf(tok::l_brace, TT_ArrayInitializerLSquare) || in moveStatePastScopeOpener()
1818 (NextNonComment && NextNonComment->isOneOf( in moveStatePastScopeOpener()
1898 !Current.isOneOf(TT_DictLiteral, TT_ArrayInitializerLSquare) && in moveStatePastScopeOpener()
1935 (Current.isOneOf(tok::r_paren, tok::r_square, TT_TemplateString) || in moveStatePastScopeCloser()
2300 Current.Previous->isOneOf(tok::kw_export, Keywords.kw_import)) { in createBreakableToken()