PureYAML/Sources/Tagged
Mihaela Mihaljevic 8df3f0b8d4 feat(emitting): add canonical mode, document markers, and lineWidth
Completes issue #10. Canonical mode follows libyaml's canonical layout
on both the Model and Tagged dump paths (tags explicit, scalars double
quoted, flow one entry per line, anchors and aliases preserved on the
Tagged path). explicitDocumentStart/End wrap the body in --- and ...
markers. lineWidth wraps overflowing flow collections one entry per
line and folds plain block scalars at single-space boundaries, vetoing
any fold that would manufacture syntax, so values always reparse
unchanged.

Closes #10
2026-07-12 14:13:19 +02:00
..
Tagged.Check.Builtins.swift feat(validation): enforce tagged mapping-key uniqueness 2026-06-28 17:03:20 +02:00
Tagged.CollectionStyle.swift feat(tagged): preserve anchors, aliases, and per-node styles end to end 2026-07-12 13:20:12 +02:00
Tagged.ConstructionContext.swift feat(tagged): add typed constructor policy 2026-06-05 16:24:11 +02:00
Tagged.ConstructionError.swift feat(tagged): add typed constructor policy 2026-06-05 16:24:11 +02:00
Tagged.Constructor.swift fix(ci): prepare 0.1.0 release 2026-06-05 21:20:20 +02:00
Tagged.Document.swift feat(tagged): add tag-preserving validation 2026-06-05 15:35:52 +02:00
Tagged.Dumper.Canonical.swift feat(emitting): add canonical mode, document markers, and lineWidth 2026-07-12 14:13:19 +02:00
Tagged.Dumper.Scalars.swift feat(tagged): preserve anchors, aliases, and per-node styles end to end 2026-07-12 13:20:12 +02:00
Tagged.Dumper.swift feat(emitting): add canonical mode, document markers, and lineWidth 2026-07-12 14:13:19 +02:00
Tagged.EventComposer.swift feat(tagged): preserve anchors, aliases, and per-node styles end to end 2026-07-12 13:20:12 +02:00
Tagged.Mapping.swift feat(tagged): preserve anchors, aliases, and per-node styles end to end 2026-07-12 13:20:12 +02:00
Tagged.Node.ModelValue.swift feat(tagged): preserve anchors, aliases, and per-node styles end to end 2026-07-12 13:20:12 +02:00
Tagged.Node.swift feat(tagged): preserve anchors, aliases, and per-node styles end to end 2026-07-12 13:20:12 +02:00
Tagged.NodeKind.swift feat(tagged): preserve anchors, aliases, and per-node styles end to end 2026-07-12 13:20:12 +02:00
Tagged.Pair.swift refactor(code-style): one top-level type per source file 2026-06-26 06:14:21 +02:00
Tagged.Parser.swift feat(tagged): add tag-preserving validation 2026-06-05 15:35:52 +02:00
Tagged.Scalar.swift feat(tagged): preserve anchors, aliases, and per-node styles end to end 2026-07-12 13:20:12 +02:00
Tagged.ScalarStyle.swift feat(tagged): preserve anchors, aliases, and per-node styles end to end 2026-07-12 13:20:12 +02:00
Tagged.Sequence.swift feat(tagged): preserve anchors, aliases, and per-node styles end to end 2026-07-12 13:20:12 +02:00
Tagged.Tag.swift feat(tagged): add tag-preserving validation 2026-06-05 15:35:52 +02:00
Tagged.Validator.swift feat(tagged): preserve anchors, aliases, and per-node styles end to end 2026-07-12 13:20:12 +02:00