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()
346 if (!Current.isOneOf(TT_BinaryOperator, tok::comma) && in canBreak()
420 !Current.isOneOf(tok::r_paren, tok::r_brace)) { in mustBreak()
500 !Previous.isOneOf(tok::kw_return, tok::lessless, tok::at, in mustBreak()
502 !Previous.isOneOf(TT_InlineASMColon, TT_ConditionalExpr) && in mustBreak()
613 !Current.isOneOf(tok::r_brace, tok::comment)) { in mustBreak()
696 if (Current.isOneOf(tok::comment, tok::l_paren, TT_LambdaLSquare)) in addTokenOnCurrentLine()
714 !Next->isOneOf(TT_LambdaLSquare, tok::l_brace, tok::caret); in addTokenOnCurrentLine()
795 if (!Tok.isOneOf(tok::l_paren, TT_TemplateOpener, tok::l_square) && in addTokenOnCurrentLine()
803 return !Tok.Previous->isOneOf(TT_CastRParen, tok::kw_for, tok::kw_while, in addTokenOnCurrentLine()
834 Previous.isOneOf(BK_BracedInit, TT_VerilogMultiLineListLParen))) { in addTokenOnCurrentLine()
865 (P->isOneOf(TT_BinaryOperator, tok::comma) || in addTokenOnCurrentLine()
867 !P->isOneOf(TT_OverloadedOperator, TT_CtorInitializerComma) && in addTokenOnCurrentLine()
897 } else if (!Current.isOneOf(tok::comment, tok::caret) && in addTokenOnCurrentLine()
908 } else if (Previous.isOneOf(TT_ConditionalExpr, TT_CtorInitializerColon)) { in addTokenOnCurrentLine()
1004 !Current.isOneOf(Keywords.kw_async, Keywords.kw_function))) { in addTokenOnNewLine()
1029 PreviousNonComment->isOneOf(TT_ObjCMethodExpr, TT_DictLiteral)) { in addTokenOnNewLine()
1047 PreviousNonComment->isOneOf(tok::comma, tok::semi) && in addTokenOnNewLine()
1053 (PreviousNonComment->isOneOf(TT_TemplateCloser, TT_JavaAnnotation) || in addTokenOnNewLine()
1144 !PreviousNonComment->isOneOf(tok::comma, tok::colon, tok::semi) && in addTokenOnNewLine()
1148 !PreviousNonComment->isOneOf( in addTokenOnNewLine()
1162 (PreviousNonComment->isOneOf(tok::l_brace, TT_ArrayInitializerLSquare) || in addTokenOnNewLine()
1183 if (!(Previous.isOneOf(tok::l_paren, tok::l_brace, TT_BinaryOperator) || in addTokenOnNewLine()
1231 Current.isOneOf(Keywords.kw_implements, Keywords.kw_extends)) { in getNewLineColumn()
1259 Previous.isOneOf(tok::kw_noexcept, tok::kw_mutable, tok::kw_constexpr, in getNewLineColumn()
1263 if ((Current.isOneOf(tok::r_brace, tok::r_square) || in getNewLineColumn()
1289 Current.Next->isOneOf(tok::semi, tok::kw_const, tok::l_brace))) { in getNewLineColumn()
1317 (Style.isProto() && Current.Next->isOneOf(tok::less, tok::l_brace)))) { in getNewLineColumn()
1369 if (NextNonComment->isOneOf(TT_CtorInitializerColon, TT_InheritanceColon, in getNewLineColumn()
1378 PreviousNonComment->isOneOf( in getNewLineColumn()
1382 NextNonComment->isOneOf(tok::kw_operator, TT_FunctionDeclarationName))) { in getNewLineColumn()
1439 if (NextNonComment->isOneOf(TT_StartOfName, TT_PointerOrReference) || in getNewLineColumn()
1440 Previous.isOneOf(tok::coloncolon, tok::equal, TT_JsTypeColon)) { in getNewLineColumn()
1444 PreviousNonComment->isOneOf(TT_ObjCMethodExpr, TT_DictLiteral)) { in getNewLineColumn()
1460 !Current.isOneOf(tok::colon, tok::comment)) { in getNewLineColumn()
1475 !PreviousNonComment->isOneOf(tok::r_brace, TT_CtorInitializerComma)) { in getNewLineColumn()
1503 if (Current.isOneOf(tok::comma, TT_BinaryOperator)) in moveStateToNextToken()
1505 if (Current.isOneOf(TT_InheritanceColon, TT_CSharpGenericTypeConstraintColon)) in moveStateToNextToken()
1589 if (Current.isOneOf(TT_BinaryOperator, TT_ConditionalExpr) && Newline) in moveStateToNextToken()
1591 if (Current.isOneOf(TT_LambdaLSquare, TT_LambdaArrow)) in moveStateToNextToken()
1608 Previous && Previous->isOneOf(tok::l_brace, TT_ArrayInitializerLSquare) && in moveStateToNextToken()
1616 if (Previous && (Previous->isOneOf(TT_BinaryOperator, TT_ConditionalExpr) || in moveStateToNextToken()
1617 (Previous->isOneOf(tok::l_paren, tok::comma, tok::colon) && in moveStateToNextToken()
1618 !Previous->isOneOf(TT_DictLiteral, TT_ObjCMethodExpr)))) { in moveStateToNextToken()
1641 } else if (!Current.isOneOf(tok::comment, tok::identifier, tok::hash) && in moveStateToNextToken()
1689 Previous->isOneOf(tok::semi, tok::kw_return, TT_RequiresClause) || in moveStatePastFakeLParens()
1720 (Previous && Previous->isOneOf(TT_TableGenDAGArgListComma, in moveStatePastFakeLParens()
1813 if (Current.isOneOf(tok::less, tok::l_paren) && in moveStatePastScopeOpener()
1829 if (Current.isOneOf(tok::l_brace, TT_ArrayInitializerLSquare) || in moveStatePastScopeOpener()
1847 (NextNonComment && NextNonComment->isOneOf( in moveStatePastScopeOpener()
1938 !Current.isOneOf(TT_DictLiteral, TT_ArrayInitializerLSquare) && in moveStatePastScopeOpener()
1975 (Current.isOneOf(tok::r_paren, tok::r_square, TT_TemplateString) || in moveStatePastScopeCloser()
2349 Current.Previous->isOneOf(tok::kw_export, Keywords.kw_import)) { in createBreakableToken()