Lines Matching refs:identifier
170 (Line.startsWith(Keywords.kw_type, tok::identifier) || in parseParens()
172 tok::identifier))) { in parseParens()
186 (Left->Previous->endsSequence(tok::identifier, in parseParens()
200 (!Left->Previous || !Left->Previous->is(tok::identifier))) { in parseParens()
250 if (PrevPrev && PrevPrev->is(tok::identifier) && in parseParens()
252 CurrentToken->is(tok::identifier) && Next->isNot(tok::equal)) { in parseParens()
360 if (AttrTok->startsSequence(tok::kw_using, tok::identifier, tok::colon)) in isCpp11AttributeSpecifier()
362 if (AttrTok->isNot(tok::identifier)) in isCpp11AttributeSpecifier()
369 AttrTok->startsSequence(tok::identifier, tok::identifier) || in isCpp11AttributeSpecifier()
370 AttrTok->startsSequence(tok::r_paren, tok::identifier)) in isCpp11AttributeSpecifier()
467 tok::identifier) && in parseSquare()
548 CurrentToken->endsSequence(tok::colon, tok::identifier, in parseSquare()
715 Tok->Previous->is(tok::identifier) && Tok->Previous->is(TT_Unknown); in consumeToken()
915 case tok::identifier: in consumeToken()
1051 CurrentToken->Next->isOneOf(tok::string_literal, tok::identifier, in parseLine()
1070 if (CurrentToken && CurrentToken->is(tok::identifier)) in parseLine()
1209 (Line.startsWith(Keywords.kw_type, tok::identifier) || in modifyContext()
1211 tok::identifier))) && in modifyContext()
1270 (Current.Previous->isOneOf(tok::identifier, tok::kw_namespace, in determineTokenType()
1357 if (BeforeParen->is(tok::identifier) && in determineTokenType()
1402 } else if (Current.isOneOf(tok::identifier, tok::kw_const) && in determineTokenType()
1434 if (Tok.isNot(tok::identifier) || !Tok.Previous) in isStartOfName()
1452 bool IsPPKeyword = PreviousNotConst->is(tok::identifier) && in isStartOfName()
1468 PreviousNotConst->isOneOf(tok::identifier, tok::kw_auto)) || in isStartOfName()
1547 if (Tok.Next->isOneOf(tok::identifier, tok::kw_this)) in rParenEndsCast()
1559 !Tok.Next->Next->isOneOf(tok::identifier, tok::numeric_constant)) in rParenEndsCast()
1564 if (!Prev->isOneOf(tok::kw_const, tok::identifier, tok::coloncolon)) in rParenEndsCast()
1670 if (PrevToken->isOneOf(tok::r_paren, tok::r_square, tok::identifier)) in determineIncrementUsage()
2012 if (!Next->is(tok::identifier)) in isFunctionDeclarationName()
2232 if (Right.is(tok::identifier) && Right.Next && Right.Next->is(TT_DictLiteral)) in splitPenalty()
2333 Left.Previous->isOneOf(tok::identifier, tok::greater)) in splitPenalty()
2428 Right.isOneOf(tok::identifier, tok::string_literal, tok::char_constant, in spaceRequiredBetween()
2448 return Left.Tok.isLiteral() || (Left.is(tok::identifier) && Left.Previous && in spaceRequiredBetween()
2541 (Left.is(tok::identifier) || Left.isFunctionLikeKeyword() || in spaceRequiredBetween()
2550 if ((Left.isOneOf(tok::identifier, tok::greater, tok::r_square, in spaceRequiredBetween()
2558 if (Right.is(tok::hash) && Left.is(tok::identifier) && Left.TokenText == "L") in spaceRequiredBetween()
2636 if (Left.is(tok::identifier) && Keywords.IsJavaScriptIdentifier(Left) && in spaceRequiredBefore()
2666 (Left.Previous->Tok.is(tok::identifier) || in spaceRequiredBefore()
2787 (Left.is(tok::identifier) || Left.is(tok::kw_this))) in spaceRequiredBefore()
2789 if (Right.is(tok::coloncolon) && Left.is(tok::identifier)) in spaceRequiredBefore()
2850 Line.First->isOneOf(tok::identifier, Keywords.kw_import, tok::kw_export, in mustBreakBefore()
3158 Right.isOneOf(tok::identifier, tok::string_literal)) in canBreakBefore()
3246 if (Right.is(TT_SelectorName) || (Right.is(tok::identifier) && Right.Next && in canBreakBefore()
3300 if (Left.is(tok::identifier) && Right.is(tok::string_literal)) in canBreakBefore()
3303 if (Right.is(tok::identifier) && Right.Next && Right.Next->is(TT_DictLiteral)) in canBreakBefore()
3349 Right.isOneOf(tok::identifier, tok::kw_const)) || in canBreakBefore()