Module formatter

Module formatter 

Source
Expand description

Text formatter and canonical printer for format specification expressions.

Emits unambiguous format expression strings with minimal, necessary parentheses adhering to the associativity and grouping rules of docs/file-info.md.

Functionsยง

format_chain_directive
Formats a FormatExpr wrapped in a @chain(...) directive.
format_expr
Formats a FormatExpr into its canonical text representation.