PureYAML/Sources/Parsing
Mihaela Mihaljevic d9bf2bda26 feat(parsing): support multi-line flow mapping keys
YAML 1.2 lets a flow-context key be separated from its ':' value indicator
by line breaks, so a flow-level simple key must survive a new line (it is
still bounded to 1024 characters). libyaml invalidates every simple key on
a new line, which wrongly rejects keys like `{"foo"\n: "bar"}` and
multi-line quoted keys.

Canonical event conformance: 259 -> 268 of 308 (4MUZ/00-02, 5MUD, 9SA2,
K3WX, NJ66, UT92, VJP3/01). This passes the hand-rolled parser's 267 and
exceeds libyaml's own 252. 333 tests pass.
2026-06-24 17:46:16 +02:00
..
BlockScalarChomping.swift
BlockScalarStyle.swift
CollectionStyle.swift
Event.swift feat(parsing): route the event API through the ported libyaml engine 2026-06-24 17:32:29 +02:00
EventComposer.Merge.swift
EventComposer.swift
EventStreamComposer.swift
LibYAML.CharacterClass.swift
LibYAML.IndentEngine.swift
LibYAML.NodeProperties.swift feat(parsing): port libyaml parser state machine to Swift 2026-06-24 17:05:59 +02:00
LibYAML.Parser.Block.swift feat(parsing): port libyaml parser state machine to Swift 2026-06-24 17:05:59 +02:00
LibYAML.Parser.Directives.swift feat(parsing): surpass libyaml on reserved directives and YAML versions 2026-06-24 17:37:32 +02:00
LibYAML.Parser.Document.swift feat(parsing): port libyaml parser state machine to Swift 2026-06-24 17:05:59 +02:00
LibYAML.Parser.Flow.swift feat(parsing): port libyaml parser state machine to Swift 2026-06-24 17:05:59 +02:00
LibYAML.Parser.Helpers.swift feat(parsing): port libyaml parser state machine to Swift 2026-06-24 17:05:59 +02:00
LibYAML.Parser.Node.swift feat(parsing): port libyaml parser state machine to Swift 2026-06-24 17:05:59 +02:00
LibYAML.Parser.swift feat(parsing): port libyaml parser state machine to Swift 2026-06-24 17:05:59 +02:00
LibYAML.ParserError.swift feat(parsing): port libyaml parser state machine to Swift 2026-06-24 17:05:59 +02:00
LibYAML.ParserState.swift feat(parsing): port libyaml parser state machine to Swift 2026-06-24 17:05:59 +02:00
LibYAML.Reader.swift
LibYAML.Scanner.Anchor.swift
LibYAML.Scanner.BlockScalar.swift
LibYAML.Scanner.Directive.swift feat(parsing): surpass libyaml on reserved directives and YAML versions 2026-06-24 17:37:32 +02:00
LibYAML.Scanner.Fetch.swift feat(parsing): treat tab-containing blank lines as blank 2026-06-24 17:41:21 +02:00
LibYAML.Scanner.FlowScalar.swift
LibYAML.Scanner.PlainScalar.swift
LibYAML.Scanner.swift feat(parsing): support multi-line flow mapping keys 2026-06-24 17:46:16 +02:00
LibYAML.Scanner.Tag.swift
LibYAML.ScannerError.swift
LibYAML.SimpleKey.swift
LibYAML.swift
LibYAML.Token.swift
LibYAML.TokenType.swift
Mark.swift
NodeKind.swift
NodeProperties.swift
NodeResult.swift
ParseError.LibYAML.swift feat(parsing): route the event API through the ported libyaml engine 2026-06-24 17:32:29 +02:00
ParseError.swift feat(parsing): route the event API through the ported libyaml engine 2026-06-24 17:32:29 +02:00
Parser.Events.swift feat(parsing): route the event API through the ported libyaml engine 2026-06-24 17:32:29 +02:00
Parser.ScalarComposition.swift
Parser.swift
Reader.swift
Scalar.swift
ScalarStyle.swift
Scanner.BlockScalar.swift
Scanner.Directives.swift
Scanner.FlowContext.swift
Scanner.FlowSimpleKey.swift
Scanner.Helpers.swift
Scanner.Indentation.swift
Scanner.PropertyTokens.swift
Scanner.Step.swift
Scanner.swift
Scanner.Tabs.swift
TagNormalizer.swift
Text.swift
Token.swift
TokenCursor.swift
TokenEventParser.Block.swift
TokenEventParser.EmptyNode.swift
TokenEventParser.Flow.swift
TokenEventParser.Helpers.swift
TokenEventParser.swift