Skip to main content

Module yaml

Module yaml 

Source
Expand description

YAML support: canonical rendering of a whole tree, the source tree that edits existing YAML, and the backend.

Modulesยง

backend ๐Ÿ”’
The YAML backend of the generic merge.
literal ๐Ÿ”’
Literal block scalars.
node ๐Ÿ”’
The YAML source tree as a node of the generic merge.
scalar_text ๐Ÿ”’
Text of a YAML scalar, written plain or quoted.
source ๐Ÿ”’
An editable YAML tree that prints back the source it was read from.
string ๐Ÿ”’
Style selection for string values.

Structsยง

Writer ๐Ÿ”’
YamlDocument ๐Ÿ”’
A validated tree the canonical renderer writes.

Enumsยง

Lead ๐Ÿ”’
Whether the indent of the first entry or item is already written.
Marker ๐Ÿ”’
The marker a child follows.

Constantsยง

CANONICAL_STEP ๐Ÿ”’
Columns per nesting level in canonical output, and the step assumed for source with nothing to measure.