Lines Matching refs:Line
44 /// \brief Returns the number of columns required to format the piece of line
48 /// specified from the start of the (original) line.
49 /// \p Length can be set to StringRef::npos, which means "to the end of line".
54 /// \brief Returns a range (offset, length) at which to break the line at
88 /// \brief Base class for single line tokens that can be broken.
106 // The prefix a line needs after a break in the token.
108 // The postfix a line needs before introducing a break.
111 StringRef Line;
116 /// \brief Creates a breakable token for a single line string literal.
135 /// \brief Creates a breakable token for a line comment.
164 /// If the comment starts a line after formatting, set \p FirstInLine to true.
196 // Returns the column at which the text in line LineIndex starts, when broken
202 // /* in the first line and trailing */ in the last line, and excluding all
212 // StartOfLineColumn[i] is the target column at which Line[i] should be.
215 // The first line's target column is always positive. The remaining lines'
216 // target columns are relative to the first line to allow correct indentation
218 // case the first line needs to be unindented more than there's actual
219 // whitespace in another line).
222 // The column at which the text of a broken line should start.
230 // We could also support such patterns by special casing the first line
234 // This is to distinguish between the case when the last line was empty and