Home | History | Annotate | Download | only in Format

Lines Matching refs:isOneOf

105       Previous.Previous->isOneOf(tok::l_brace, tok::l_paren, tok::comma))
153 !Current.isOneOf(tok::r_paren, tok::r_brace))
179 !Previous.isOneOf(tok::kw_return, tok::lessless, tok::at) &&
180 !Previous.isOneOf(TT_InlineASMColon, TT_ConditionalExpr) &&
246 Previous.is(tok::l_brace) && !Current.isOneOf(tok::r_brace, tok::comment))
337 !Previous.Previous->isOneOf(tok::kw_for, tok::kw_while, tok::kw_switch)))
367 Previous.Previous->isOneOf(tok::kw_if, tok::kw_for)) {
372 } else if (!Current.isOneOf(tok::comment, tok::caret) &&
376 } else if ((Previous.isOneOf
472 PreviousNonComment->isOneOf(TT_ObjCMethodExpr, TT_DictLiteral)) {
488 if ((Previous.isOneOf(tok::comma, tok::semi) &&
492 if (Previous.isOneOf(TT_TemplateCloser, TT_JavaAnnotation) &&
525 !PreviousNonComment->isOneOf(tok::comma, tok::semi) &&
528 !PreviousNonComment->isOneOf(
537 (PreviousNonComment->isOneOf(tok::l_brace, TT_ArrayInitializerLSquare)))
544 if (!Previous.isOneOf(tok::l_paren, tok::l_brace, TT_BinaryOperator) ||
570 Current.isOneOf(Keywords.kw_implements, Keywords.kw_extends))
577 if (Current.isOneOf(tok::r_brace, tok::r_square) && State.Stack.size() > 1) {
610 PreviousNonComment->isOneOf(
614 NextNonComment->isOneOf(tok::kw_operator, TT_FunctionDeclarationName)))
645 if (NextNonComment->isOneOf(TT_StartOfName, TT_PointerOrReference) ||
646 Previous.isOneOf(tok::coloncolon, tok::equal, TT_JsTypeColon))
649 PreviousNonComment->isOneOf(TT_ObjCMethodExpr, TT_DictLiteral))
656 !Current.isOneOf(tok::colon, tok::comment))
716 if (Current.isOneOf(TT_BinaryOperator, TT_ConditionalExpr) && Newline)
730 Previous->isOneOf(tok::l_brace, TT_ArrayInitializerLSquare) &&
737 if (Previous && (Previous->isOneOf(tok::l_paren, tok::comma, tok::colon) ||
738 Previous->isOneOf(TT_BinaryOperator, TT_ConditionalExpr)) &&
739 !Previous->isOneOf(TT_DictLiteral, TT_ObjCMethodExpr)) {
754 else if (!Current.isOneOf(tok::comment, tok::identifier, tok::hash) &&
789 Previous->isOneOf(tok::semi, tok::kw_return) ||
818 Previous->isOneOf(TT_BinaryOperator, TT_ConditionalExpr) &&
887 if (Current.isOneOf(tok::l_brace, TT_ArrayInitializerLSquare)) {
897 Current.isOneOf(TT_ArrayInitializerLSquare, TT_DictLiteral) ||
951 !Current.isOneOf(TT_DictLiteral, TT_ArrayInitializerLSquare) &&
970 (Current.isOneOf(tok::r_paren, tok::r_square) ||