Skip to main content

Module values_text

Module values_text 

Source
Expand description

The text of data-values: the writer that convert --from uses to give back values that it has read.

A value is written on one line if that is at most WIDTH characters wide, not counting the indentation, the name of the member that it is in, a comma or the ;. Otherwise it is spread over lines, with one member, element or argument to a line, and each of those is laid out by the same rule. As for the JSON that convert writes, there is no maximum column, which nesting by indentation would make meaningless.

Functionsยง

render
The text of one value, followed by ; and a new line. When compact it is all on one line.