Lines Matching refs:isOneOf
99 End->Next->MatchingParen->isOneOf( in getLengthToMatchingParen()
293 Previous.Previous->isOneOf(tok::l_brace, tok::l_paren, tok::comma)) { in canBreak()
326 if (!Current.isOneOf(TT_BinaryOperator, tok::comma) && in canBreak()
379 !Current.isOneOf(tok::r_paren, tok::r_brace)) { in mustBreak()
459 !Previous.isOneOf(tok::kw_return, tok::lessless, tok::at, in mustBreak()
461 !Previous.isOneOf(TT_InlineASMColon, TT_ConditionalExpr) && in mustBreak()
571 !Current.isOneOf(tok::r_brace, tok::comment)) { in mustBreak()
706 (Previous.isOneOf(tok::l_paren, TT_TemplateOpener, tok::l_square) || in addTokenOnCurrentLine()
710 (!Previous.Previous || !Previous.Previous->isOneOf( in addTokenOnCurrentLine()
760 (P->isOneOf(TT_BinaryOperator, tok::comma) || in addTokenOnCurrentLine()
762 !P->isOneOf(TT_OverloadedOperator, TT_CtorInitializerComma) && in addTokenOnCurrentLine()
792 } else if (!Current.isOneOf(tok::comment, tok::caret) && in addTokenOnCurrentLine()
803 } else if ((Previous.isOneOf(TT_BinaryOperator, TT_ConditionalExpr, in addTokenOnCurrentLine()
899 !Current.isOneOf(Keywords.kw_async, Keywords.kw_function))) { in addTokenOnNewLine()
924 PreviousNonComment->isOneOf(TT_ObjCMethodExpr, TT_DictLiteral)) { in addTokenOnNewLine()
942 PreviousNonComment->isOneOf(tok::comma, tok::semi) && in addTokenOnNewLine()
948 (PreviousNonComment->isOneOf(TT_TemplateCloser, TT_JavaAnnotation) || in addTokenOnNewLine()
1008 !PreviousNonComment->isOneOf(tok::comma, tok::colon, tok::semi) && in addTokenOnNewLine()
1012 !PreviousNonComment->isOneOf( in addTokenOnNewLine()
1022 (PreviousNonComment->isOneOf(tok::l_brace, TT_ArrayInitializerLSquare) || in addTokenOnNewLine()
1040 if (!(Previous.isOneOf(tok::l_paren, tok::l_brace, TT_BinaryOperator) || in addTokenOnNewLine()
1088 Current.isOneOf(Keywords.kw_implements, Keywords.kw_extends)) { in getNewLineColumn()
1101 if ((Current.isOneOf(tok::r_brace, tok::r_square) || in getNewLineColumn()
1129 Current.Next->isOneOf(tok::semi, tok::kw_const, tok::l_brace))) { in getNewLineColumn()
1142 Current.Next->isOneOf(tok::less, tok::l_brace)))) { in getNewLineColumn()
1194 if (NextNonComment->isOneOf(TT_CtorInitializerColon, TT_InheritanceColon, in getNewLineColumn()
1201 PreviousNonComment->isOneOf( in getNewLineColumn()
1205 NextNonComment->isOneOf(tok::kw_operator, TT_FunctionDeclarationName))) { in getNewLineColumn()
1254 if (NextNonComment->isOneOf(TT_StartOfName, TT_PointerOrReference) || in getNewLineColumn()
1255 Previous.isOneOf(tok::coloncolon, tok::equal, TT_JsTypeColon)) { in getNewLineColumn()
1259 PreviousNonComment->isOneOf(TT_ObjCMethodExpr, TT_DictLiteral)) { in getNewLineColumn()
1273 !Current.isOneOf(tok::colon, tok::comment)) { in getNewLineColumn()
1282 if (Current.isOneOf(tok::comment, TT_BlockComment, TT_LineComment) && in getNewLineColumn()
1288 !PreviousNonComment->isOneOf(tok::r_brace, TT_CtorInitializerComma)) { in getNewLineColumn()
1316 if (Current.isOneOf(tok::comma, TT_BinaryOperator)) in moveStateToNextToken()
1318 if (Current.isOneOf(TT_InheritanceColon, TT_CSharpGenericTypeConstraintColon)) in moveStateToNextToken()
1398 if (Current.isOneOf(TT_BinaryOperator, TT_ConditionalExpr) && Newline) in moveStateToNextToken()
1400 if (Current.isOneOf(TT_LambdaLSquare, TT_LambdaArrow)) in moveStateToNextToken()
1415 Previous && Previous->isOneOf(tok::l_brace, TT_ArrayInitializerLSquare) && in moveStateToNextToken()
1423 if (Previous && (Previous->isOneOf(TT_BinaryOperator, TT_ConditionalExpr) || in moveStateToNextToken()
1424 (Previous->isOneOf(tok::l_paren, tok::comma, tok::colon) && in moveStateToNextToken()
1425 !Previous->isOneOf(TT_DictLiteral, TT_ObjCMethodExpr)))) { in moveStateToNextToken()
1445 } else if (!Current.isOneOf(tok::comment, tok::identifier, tok::hash) && in moveStateToNextToken()
1483 Previous->isOneOf(tok::semi, tok::kw_return, TT_RequiresClause) || in moveStatePastFakeLParens()
1519 Previous->isOneOf(tok::kw_return, TT_RequiresClause) || in moveStatePastFakeLParens()
1595 if (Current.isOneOf(tok::less, tok::l_paren) && in moveStatePastScopeOpener()
1611 if (Current.isOneOf(tok::l_brace, TT_ArrayInitializerLSquare) || in moveStatePastScopeOpener()
1628 NextNoComment->isOneOf(TT_DesignatedInitializerPeriod, in moveStatePastScopeOpener()
1703 !Current.isOneOf(TT_DictLiteral, TT_ArrayInitializerLSquare) && in moveStatePastScopeOpener()
1740 (Current.isOneOf(tok::r_paren, tok::r_square, TT_TemplateString) || in moveStatePastScopeCloser()