PureYAML/Sources/Model
Mihaela Mihaljevic 3f3ce310b1 feat(parsing): opt-in located parse with source spans on every node
Add parseLocated / parseStreamLocated, returning a Model.LocatedValue
tree parallel in shape to Value, where every node carries its source
span (1-based line/column) and located children. Collections span from
their opening to closing event; scalars carry a start-anchored span;
aliases and merge-inherited pairs honestly point at their reference site.

The plain Value, its equality, and the conformance oracle are untouched:
locations are built only when the streaming composer is asked for them
(tracksLocations), behind new entry points, so the default value path is
byte-identical. A whole-suite test proves the located projection equals
a plain parse for every passing case (402/402), including through merge
keys and aliases, and the canonical-event and gap gates stay green.
2026-06-26 00:57:55 +02:00
..
Key.swift feat(model): support complex mapping keys 2026-06-05 16:08:45 +02:00
LocatedPair.swift feat(parsing): opt-in located parse with source spans on every node 2026-06-26 00:57:55 +02:00
LocatedValue.swift feat(parsing): opt-in located parse with source spans on every node 2026-06-26 00:57:55 +02:00
Mapping.swift feat(model): support complex mapping keys 2026-06-05 16:08:45 +02:00
Model.FlowDescription.swift feat(model): support complex mapping keys 2026-06-05 16:08:45 +02:00
Pair.swift feat(model): support complex mapping keys 2026-06-05 16:08:45 +02:00
SourcePosition.swift feat(parsing): opt-in located parse with source spans on every node 2026-06-26 00:57:55 +02:00
SourceRange.swift feat(parsing): opt-in located parse with source spans on every node 2026-06-26 00:57:55 +02:00
Value.Hashable.swift feat(model): support complex mapping keys 2026-06-05 16:08:45 +02:00
Value.KindDescription.swift feat(coding): add scalar typed conversion 2026-06-05 11:45:00 +02:00
Value.swift feat(model): support complex mapping keys 2026-06-05 16:08:45 +02:00