Lines Matching refs:Language
74 if (Style.Language == FormatStyle::LK_Java && in parseAngle()
87 Style.Language == FormatStyle::LK_Java) { in parseAngle()
137 } else if (Style.Language == FormatStyle::LK_JavaScript && in parseParens()
148 } else if (Style.Language == FormatStyle::LK_JavaScript && Left->Previous && in parseParens()
154 } else if (Style.Language == FormatStyle::LK_JavaScript && Left->Previous && in parseParens()
309 Style.Language == FormatStyle::LK_Cpp && in parseSquare()
324 } else if (Style.Language == FormatStyle::LK_JavaScript && Parent && in parseSquare()
328 } else if (Style.Language == FormatStyle::LK_Proto || in parseSquare()
425 Style.Language != FormatStyle::LK_Cpp)) || in parseBrace()
426 Style.Language == FormatStyle::LK_Proto) && in parseBrace()
431 Style.Language == FormatStyle::LK_JavaScript) in parseBrace()
493 if (Style.Language == FormatStyle::LK_JavaScript) { in consumeToken()
506 Style.Language == FormatStyle::LK_Proto) { in consumeToken()
540 if (Style.Language == FormatStyle::LK_JavaScript && in consumeToken()
553 if (Style.Language == FormatStyle::LK_JavaScript && Tok->Previous && in consumeToken()
630 if (Style.Language == FormatStyle::LK_JavaScript && Tok->Next && in consumeToken()
643 Style.Language == FormatStyle::LK_JavaScript) in consumeToken()
711 if (Style.Language == FormatStyle::LK_JavaScript && IsFirstToken) { in parsePreprocessorDirective()
769 if ((Style.Language == FormatStyle::LK_Java && in parseLine()
789 if (Style.Language == FormatStyle::LK_Proto && Line.Level == 0 && in parseLine()
800 if (Style.Language == FormatStyle::LK_JavaScript && in parseLine()
807 if (Style.Language == FormatStyle::LK_JavaScript) { in parseLine()
925 !(Style.Language == FormatStyle::LK_JavaScript && in modifyContext()
955 Contexts.back().IsExpression = Style.Language == FormatStyle::LK_Java; in modifyContext()
992 Style.Language == FormatStyle::LK_Java) { in determineTokenType()
1011 if (Style.Language == FormatStyle::LK_JavaScript && in determineTokenType()
1068 else if (Style.Language == FormatStyle::LK_Java && Current.Previous && in determineTokenType()
1080 } else if ((Style.Language == FormatStyle::LK_Java || in determineTokenType()
1081 Style.Language == FormatStyle::LK_JavaScript) && in determineTokenType()
1110 if (Style.Language == FormatStyle::LK_JavaScript && in isStartOfName()
1146 if (Style.Language != FormatStyle::LK_Cpp && in rParenEndsCast()
1147 Style.Language != FormatStyle::LK_Java) in rParenEndsCast()
1184 if (Style.Language == FormatStyle::LK_Java && Tok.Next->is(tok::l_paren)) in rParenEndsCast()
1237 if (Style.Language == FormatStyle::LK_JavaScript) in determineStarAmpUsage()
1464 if ((Style.Language == FormatStyle::LK_Java || in getCurrentPrecedence()
1465 Style.Language == FormatStyle::LK_JavaScript) && in getCurrentPrecedence()
1468 if (Style.Language == FormatStyle::LK_JavaScript && in getCurrentPrecedence()
1475 if ((Style.Language == FormatStyle::LK_Java || in getCurrentPrecedence()
1476 Style.Language == FormatStyle::LK_JavaScript) && in getCurrentPrecedence()
1807 if (Style.Language == FormatStyle::LK_Java) { in splitPenalty()
1814 } else if (Style.Language == FormatStyle::LK_JavaScript) { in splitPenalty()
1825 if (Style.Language == FormatStyle::LK_Proto) in splitPenalty()
1856 (Right.is(tok::period) && Style.Language == FormatStyle::LK_Proto)) in splitPenalty()
2102 if (Style.Language == FormatStyle::LK_Cpp) { in spaceRequiredBefore()
2105 } else if (Style.Language == FormatStyle::LK_Proto) { in spaceRequiredBefore()
2113 } else if (Style.Language == FormatStyle::LK_JavaScript) { in spaceRequiredBefore()
2149 } else if (Style.Language == FormatStyle::LK_Java) { in spaceRequiredBefore()
2257 if (Style.Language == FormatStyle::LK_JavaScript) { in mustBreakBefore()
2286 } else if (Style.Language == FormatStyle::LK_Java) { in mustBreakBefore()
2337 Style.Language == FormatStyle::LK_Proto) in mustBreakBefore()
2349 if ((Style.Language == FormatStyle::LK_Java || in mustBreakBefore()
2350 Style.Language == FormatStyle::LK_JavaScript) && in mustBreakBefore()
2364 if (Style.Language == FormatStyle::LK_Java) { in canBreakBefore()
2371 } else if (Style.Language == FormatStyle::LK_JavaScript) { in canBreakBefore()