Lines Matching full:column
109 Style.ColumnLimit - State.Column + State.NextToken->Previous->ColumnWidth; in formatAfterToken()
115 // bin-packed. Add a severe penalty to this so that column layouts are in formatAfterToken()
122 unsigned Column = 0; in formatAfterToken() local
131 ExtraSpaces += Format->ColumnSizes[Column] - ItemLengths[Item]; in formatAfterToken()
132 ++Column; in formatAfterToken()
137 if (Column == Format->Columns || State.NextToken->MustBreakBefore) { in formatAfterToken()
138 Column = 0; in formatAfterToken()
151 // Formatting with 1 Column isn't really a column layout, so we don't need the in formatFromToken()
181 // Limit column layout for JavaScript array initializers to 20 or more items in precomputeFormattingInfos()
187 // Column format doesn't really make sense if we don't align after brackets. in precomputeFormattingInfos()
197 // trailing comments which are otherwise ignored for column alignment. in precomputeFormattingInfos()
249 // Don't use column layout for lists with few elements and in presence of in precomputeFormattingInfos()
269 unsigned Column = 0; in precomputeFormattingInfos() local
272 if (MustBreakBeforeItem[i] || Column == Columns) { in precomputeFormattingInfos()
274 Column = 0; in precomputeFormattingInfos()
276 if (Column == Columns - 1) in precomputeFormattingInfos()
279 (Column == Columns - 1) ? EndOfLineItemLength[i] : ItemLengths[i]; in precomputeFormattingInfos()
280 Format.ColumnSizes[Column] = std::max(Format.ColumnSizes[Column], Length); in precomputeFormattingInfos()
281 MinSizeInColumn[Column] = std::min(MinSizeInColumn[Column], Length); in precomputeFormattingInfos()
282 ++Column; in precomputeFormattingInfos()
294 // element in a column exceeds a threshold to avoid excessive spaces. in precomputeFormattingInfos()
304 // Ignore layouts that are bound to violate the column limit. in precomputeFormattingInfos()