Expand description
Utilities for indenting source lines
Structs§
- Indent
- Information on the indentation state of a line
Functions§
- apply_
indent - Apply the given indentation to a line
- calculate_
indent - Calculates the indent for
line
based on its contents. This functions saves the calculated Indent, which might be negative, to the given State, and then ensures that the returned Indent is non-negative.