pub type BindingStyle = Form;Expand description
How to represent document paths in formatted output.
Uses the seven-variant Form taxonomy from eure_document::plan.
@ $types.binding-style
$variant: union
variants { inline, binding-block, binding-value-block, section, section-block, section-value-block, flatten }Aliased Type§
pub enum BindingStyle {
Inline,
BindingBlock,
BindingValueBlock,
Section,
SectionBlock,
SectionValueBlock,
Flatten,
}Variants§
Inline
Pattern #1: path = value.
BindingBlock
Pattern #2: path { ... }.
BindingValueBlock
Pattern #3: path { = value ... }.
Section
Pattern #4: @ path with items.
SectionBlock
Pattern #5: @ path { ... }.
SectionValueBlock
Pattern #6: @ path { = value ... }.
Flatten
No self-emission. Children are hoisted into the parent.