Line
A single line of a scanned source, with its indentation precomputed. Lines are produced once per source by Lines.of and never re-sliced.
Parameters
Properties
Link copied to clipboard
Index of the first non-whitespace character, or end when the line is blank.
Link copied to clipboard
Whether the line is terminated by a newline, as opposed to ending at the end of input.
Link copied to clipboard
Amount of literal spaces the line starts with, tabs excluded. A list's resumption is defined in spaces, where indent is defined in columns.