Lines Matching refs:identifier

246                (Line.startsWith(Keywords.kw_type, tok::identifier) ||  in parseParens()
248 tok::identifier))) { in parseParens()
261 (Left->Previous->endsSequence(tok::identifier, in parseParens()
273 (!Left->Previous || !Left->Previous->is(tok::identifier))) { in parseParens()
336 if (PrevPrev && PrevPrev->is(tok::identifier) && in parseParens()
338 CurrentToken->is(tok::identifier) && Next->isNot(tok::equal)) { in parseParens()
451 if (Tok.Previous && Tok.Previous->is(tok::identifier)) in isCSharpAttributeSpecifier()
491 AttrTok->Next->startsSequence(tok::identifier, tok::l_paren)) in isCSharpAttributeSpecifier()
509 if (AttrTok->startsSequence(tok::kw_using, tok::identifier, tok::colon)) in isCpp11AttributeSpecifier()
511 if (AttrTok->isNot(tok::identifier)) in isCpp11AttributeSpecifier()
518 AttrTok->startsSequence(tok::identifier, tok::identifier) || in isCpp11AttributeSpecifier()
519 AttrTok->startsSequence(tok::r_paren, tok::identifier)) in isCpp11AttributeSpecifier()
628 tok::identifier) && in parseSquare()
721 CurrentToken->endsSequence(tok::colon, tok::identifier, in parseSquare()
921 Tok->Previous->is(tok::identifier) && Tok->Previous->is(TT_Unknown); in consumeToken()
980 CurrentToken->isOneOf(tok::kw_constexpr, tok::identifier)) in consumeToken()
1119 (Tok->Next && Tok->Next->is(tok::identifier) && Tok->Next->Next && in consumeToken()
1143 case tok::identifier: in consumeToken()
1316 CurrentToken->Next->isOneOf(tok::string_literal, tok::identifier, in parseLine()
1335 if (CurrentToken && CurrentToken->is(tok::identifier)) { in parseLine()
1497 (Line.startsWith(Keywords.kw_type, tok::identifier) || in modifyContext()
1499 tok::identifier))) && in modifyContext()
1572 Current.startsSequence(tok::arrow, tok::identifier, tok::less)) { in isDeductionGuide()
1630 : Current.Previous->is(tok::identifier); in determineTokenType()
1730 if (BeforeParen->is(tok::identifier) && in determineTokenType()
1777 } else if (Current.isOneOf(tok::identifier, tok::kw_const, tok::kw_noexcept, in determineTokenType()
1810 if (Tok.isNot(tok::identifier) || !Tok.Previous) in isStartOfName()
1828 bool IsPPKeyword = PreviousNotConst->is(tok::identifier) && in isStartOfName()
1843 PreviousNotConst->isOneOf(tok::identifier, tok::kw_auto)) || in isStartOfName()
1963 if (Tok.Next->isOneOf(tok::identifier, tok::kw_this)) in rParenEndsCast()
1968 if (Tok.Previous->is(tok::identifier) && in rParenEndsCast()
1982 !Tok.Next->Next->isOneOf(tok::identifier, tok::numeric_constant)) in rParenEndsCast()
1987 if (!Prev->isOneOf(tok::kw_const, tok::identifier, tok::coloncolon)) in rParenEndsCast()
2097 if (PrevToken->isOneOf(tok::r_paren, tok::r_square, tok::identifier)) in determineIncrementUsage()
2421 if ((Next->isSimpleTypeSpecifier() || Next->is(tok::identifier)) && in isFunctionDeclarationName()
2457 if (!Next->is(tok::identifier)) in isFunctionDeclarationName()
2490 if (IsCpp && Next->Next && Next->Next->is(tok::identifier) && in isFunctionDeclarationName()
2740 if (Right.is(tok::identifier) && Right.Next && Right.Next->is(TT_DictLiteral)) in splitPenalty()
2841 Left.Previous->isOneOf(tok::identifier, tok::greater)) in splitPenalty()
2947 if (Left.is(TT_ConstraintJunctions) && Right.is(tok::identifier)) in spaceRequiredBetween()
2968 Right.isOneOf(tok::identifier, tok::string_literal, tok::char_constant, in spaceRequiredBetween()
2988 return Left.Tok.isLiteral() || (Left.is(tok::identifier) && Left.Previous && in spaceRequiredBetween()
3053 if (Previous->is(tok::identifier) || Previous->isSimpleTypeSpecifier()) { in spaceRequiredBetween()
3159 (Left.is(tok::identifier) || Left.isFunctionLikeKeyword() || in spaceRequiredBetween()
3170 if ((Left.isOneOf(tok::identifier, tok::greater, tok::r_square, in spaceRequiredBetween()
3178 if (Right.is(tok::hash) && Left.is(tok::identifier) && Left.TokenText == "L") in spaceRequiredBetween()
3377 (Left.Previous->Tok.is(tok::identifier) || in spaceRequiredBefore()
3537 (Left.is(tok::identifier) || Left.is(tok::kw_this))) in spaceRequiredBefore()
3539 if (Right.is(tok::coloncolon) && Left.is(tok::identifier)) in spaceRequiredBefore()
3637 Line.First->isOneOf(tok::identifier, Keywords.kw_import, tok::kw_export, in mustBreakBefore()
3975 if (NonComment && NonComment->is(tok::identifier) && in canBreakBefore()
4025 Right.isOneOf(tok::identifier, tok::string_literal)) in canBreakBefore()
4031 if (Left.is(tok::identifier) && Right.is(TT_TemplateString)) { in canBreakBefore()
4119 if (Right.is(TT_SelectorName) || (Right.is(tok::identifier) && Right.Next && in canBreakBefore()
4174 if (Left.is(tok::identifier) && Right.is(tok::string_literal)) in canBreakBefore()
4177 if (Right.is(tok::identifier) && Right.Next && Right.Next->is(TT_DictLiteral)) in canBreakBefore()
4232 Right.isOneOf(tok::identifier, tok::kw_const)) || in canBreakBefore()