Skip to main content

Module raw

Module raw 

Source
Expand description

Raw property and component preservation types for ADR-001 round-trip.

RawProperty stores prefix-unmatched X-* properties (and, after later migration steps, vendor-prefix-matched but not-yet-typed properties). Values are kept verbatim — no escape decoding — because we don’t know what value type rules apply to an unknown property.

source_index is the monotonic input order; ADR-018 specifies that the formatter emits unknown properties at the end of their component, sorted by source_index, so the round-trip preserves the relative ordering of unknowns even if their absolute position drifts past the canonical-order typed fields.

Structs§

RawComponent
A component (BEGIN:NAME ... END:NAME) that the typed model does not understand, preserved verbatim for ADR-001 / ADR-018 round-trip.
RawProperty