Lines Matching refs:Keywords

36                    const AdditionalKeywords &Keywords)  in AnnotatingParser()  argument
38 Keywords(Keywords) { in AnnotatingParser()
236 if (MightBeObjCForRangeLoop && CurrentToken->is(Keywords.kw_in)) in parseParens()
635 CurrentToken->isOneOf(Keywords.kw_mark, Keywords.kw_option)) { in parsePragma()
636 bool IsMark = CurrentToken->is(Keywords.kw_mark); in parsePragma()
699 CurrentToken->is(Keywords.kw_package)) || in parseLine()
719 CurrentToken->is(Keywords.kw_option)) { in parseLine()
862 } else if (Current.is(TT_LambdaArrow) || Current.is(Keywords.kw_assert)) { in modifyContext()
902 if (Current.is(Keywords.kw_instanceof)) { in determineTokenType()
1002 Current.isNot(Keywords.kw_interface)) { in determineTokenType()
1026 if (Tok.Previous->isOneOf(TT_LeadingJavaAnnotation, Keywords.kw_instanceof)) in isStartOfName()
1083 !LeftOfParens->isOneOf(Keywords.kw_in, tok::kw_return, tok::kw_case, in rParenEndsCast()
1162 NextToken->isOneOf(tok::arrow, Keywords.kw_final, in determineStarAmpUsage()
1163 Keywords.kw_override) || in determineStarAmpUsage()
1256 const AdditionalKeywords &Keywords; member in clang::format::__anon7c513deb0111::AnnotatingParser
1272 ExpressionParser(const FormatStyle &Style, const AdditionalKeywords &Keywords, in ExpressionParser() argument
1274 : Style(Style), Keywords(Keywords), Current(Line.First) {} in ExpressionParser()
1380 Current->is(Keywords.kw_instanceof)) in getCurrentPrecedence()
1387 Current->isOneOf(Keywords.kw_extends, Keywords.kw_implements, in getCurrentPrecedence()
1388 Keywords.kw_throws)) in getCurrentPrecedence()
1451 const AdditionalKeywords &Keywords; member in clang::format::__anon7c513deb0111::ExpressionParser
1479 AnnotatingParser Parser(Style, Line, Keywords); in annotate()
1484 ExpressionParser ExprParser(Style, Keywords, Line); in annotate()
1708 if (Right.isOneOf(Keywords.kw_extends, Keywords.kw_throws)) in splitPenalty()
1710 if (Right.is(Keywords.kw_implements)) in splitPenalty()
1715 if (Right.is(Keywords.kw_function) && Left.isNot(tok::comma)) in splitPenalty()
1909 Right.isOneOf(TT_BlockComment, Keywords.kw_final, in spaceRequiredBetween()
1910 Keywords.kw_override) || in spaceRequiredBetween()
1953 (Left.isOneOf(tok::kw_try, Keywords.kw___except, tok::kw_catch, in spaceRequiredBetween()
1996 Left.isOneOf(Keywords.kw_optional, Keywords.kw_required, in spaceRequiredBefore()
1997 Keywords.kw_repeated, Keywords.kw_extend)) in spaceRequiredBefore()
2000 Left.isOneOf(Keywords.kw_returns, Keywords.kw_option)) in spaceRequiredBefore()
2003 if (Left.isOneOf(Keywords.kw_let, Keywords.kw_var, TT_JsFatArrow, in spaceRequiredBefore()
2004 Keywords.kw_in)) in spaceRequiredBefore()
2009 Line.First->isOneOf(Keywords.kw_import, tok::kw_export)) in spaceRequiredBefore()
2015 Keywords.kw_implements, Keywords.kw_extends)) in spaceRequiredBefore()
2023 if (Left.is(Keywords.kw_synchronized) && Right.is(tok::l_paren)) in spaceRequiredBefore()
2027 Left.isOneOf(Keywords.kw_final, Keywords.kw_abstract, in spaceRequiredBefore()
2028 Keywords.kw_native)) && in spaceRequiredBefore()
2134 Line.First->isOneOf(tok::identifier, Keywords.kw_import, tok::kw_export, in mustBreakBefore()
2138 !Line.First->isOneOf(Keywords.kw_var, Keywords.kw_let)) in mustBreakBefore()
2238 if (Left.isOneOf(Keywords.kw_throws, Keywords.kw_extends, in canBreakBefore()
2239 Keywords.kw_implements)) in canBreakBefore()
2241 if (Right.isOneOf(Keywords.kw_throws, Keywords.kw_extends, in canBreakBefore()
2242 Keywords.kw_implements)) in canBreakBefore()