• Home
  • Raw
  • Download

Lines Matching refs:isOneOf

97         End->Next->MatchingParen->isOneOf(  in getLengthToMatchingParen()
289 Previous.Previous->isOneOf(tok::l_brace, tok::l_paren, tok::comma)) in canBreak()
319 if (!Current.isOneOf(TT_BinaryOperator, tok::comma) && in canBreak()
368 !Current.isOneOf(tok::r_paren, tok::r_brace)) in mustBreak()
440 !Previous.isOneOf(tok::kw_return, tok::lessless, tok::at, in mustBreak()
442 !Previous.isOneOf(TT_InlineASMColon, TT_ConditionalExpr) && in mustBreak()
507 Previous.is(tok::l_brace) && !Current.isOneOf(tok::r_brace, tok::comment)) in mustBreak()
631 (Previous.isOneOf(tok::l_paren, TT_TemplateOpener, tok::l_square) || in addTokenOnCurrentLine()
635 (!Previous.Previous || !Previous.Previous->isOneOf( in addTokenOnCurrentLine()
682 (P->isOneOf(TT_BinaryOperator, tok::comma) || in addTokenOnCurrentLine()
684 !P->isOneOf(TT_OverloadedOperator, TT_CtorInitializerComma) && in addTokenOnCurrentLine()
713 } else if (!Current.isOneOf(tok::comment, tok::caret) && in addTokenOnCurrentLine()
723 } else if ((Previous.isOneOf(TT_BinaryOperator, TT_ConditionalExpr, in addTokenOnCurrentLine()
818 !Current.isOneOf(Keywords.kw_async, Keywords.kw_function))) in addTokenOnNewLine()
842 PreviousNonComment->isOneOf(TT_ObjCMethodExpr, TT_DictLiteral)) { in addTokenOnNewLine()
859 PreviousNonComment->isOneOf(tok::comma, tok::semi) && in addTokenOnNewLine()
864 PreviousNonComment->isOneOf(TT_TemplateCloser, TT_JavaAnnotation) && in addTokenOnNewLine()
916 !PreviousNonComment->isOneOf(tok::comma, tok::colon, tok::semi) && in addTokenOnNewLine()
919 !PreviousNonComment->isOneOf( in addTokenOnNewLine()
928 (PreviousNonComment->isOneOf(tok::l_brace, TT_ArrayInitializerLSquare) || in addTokenOnNewLine()
940 if (!(Previous.isOneOf(tok::l_paren, tok::l_brace, TT_BinaryOperator) || in addTokenOnNewLine()
984 Current.isOneOf(Keywords.kw_implements, Keywords.kw_extends)) in getNewLineColumn()
996 if ((Current.isOneOf(tok::r_brace, tok::r_square) || in getNewLineColumn()
1024 Current.Next->isOneOf(tok::semi, tok::kw_const, tok::l_brace))) in getNewLineColumn()
1032 Current.Next->isOneOf(tok::less, tok::l_brace)))) in getNewLineColumn()
1076 PreviousNonComment->isOneOf( in getNewLineColumn()
1080 NextNonComment->isOneOf(tok::kw_operator, TT_FunctionDeclarationName))) in getNewLineColumn()
1125 if (NextNonComment->isOneOf(TT_StartOfName, TT_PointerOrReference) || in getNewLineColumn()
1126 Previous.isOneOf(tok::coloncolon, tok::equal, TT_JsTypeColon)) in getNewLineColumn()
1129 PreviousNonComment->isOneOf(TT_ObjCMethodExpr, TT_DictLiteral)) in getNewLineColumn()
1139 if (NextNonComment->isOneOf(TT_CtorInitializerColon, TT_InheritanceColon, in getNewLineColumn()
1143 !Current.isOneOf(tok::colon, tok::comment)) in getNewLineColumn()
1150 if (Current.isOneOf(tok::comment, TT_BlockComment, TT_LineComment) && in getNewLineColumn()
1155 !PreviousNonComment->isOneOf(tok::r_brace, TT_CtorInitializerComma)) in getNewLineColumn()
1181 if (Current.isOneOf(tok::comma, TT_BinaryOperator)) in moveStateToNextToken()
1183 if (Current.isOneOf(TT_InheritanceColon, TT_CSharpGenericTypeConstraintColon)) in moveStateToNextToken()
1254 if (Current.isOneOf(TT_BinaryOperator, TT_ConditionalExpr) && Newline) in moveStateToNextToken()
1257 if (Current.isOneOf(TT_LambdaLSquare, TT_LambdaArrow)) in moveStateToNextToken()
1270 Previous->isOneOf(tok::l_brace, TT_ArrayInitializerLSquare) && in moveStateToNextToken()
1279 (Previous->isOneOf(tok::l_paren, tok::comma, tok::colon) || in moveStateToNextToken()
1280 Previous->isOneOf(TT_BinaryOperator, TT_ConditionalExpr)) && in moveStateToNextToken()
1281 !Previous->isOneOf(TT_DictLiteral, TT_ObjCMethodExpr)) { in moveStateToNextToken()
1299 else if (!Current.isOneOf(tok::comment, tok::identifier, tok::hash) && in moveStateToNextToken()
1332 Previous->isOneOf(tok::semi, tok::kw_return) || in moveStatePastFakeLParens()
1437 if (Current.isOneOf(tok::less, tok::l_paren) && in moveStatePastScopeOpener()
1452 if (Current.isOneOf(tok::l_brace, TT_ArrayInitializerLSquare) || in moveStatePastScopeOpener()
1469 NextNoComment->isOneOf(TT_DesignatedInitializerPeriod, in moveStatePastScopeOpener()
1543 !Current.isOneOf(TT_DictLiteral, TT_ArrayInitializerLSquare) && in moveStatePastScopeOpener()
1581 (Current.isOneOf(tok::r_paren, tok::r_square, TT_TemplateString) || in moveStatePastScopeCloser()