PureYAML/Sources/Validation
Mihaela M c4f7f9dccc refactor(code-style): one top-level type per source file
Split the six files that declared multiple sibling types under one
namespace extension so each file declares exactly one top-level type:
the Tagged node component types (Node, NodeKind, Scalar, Sequence,
Mapping, Pair), the validation report types (Report, Source,
SourceReport, BatchReport), DiagnosticKind, TokenKind, ScannerFlowContext
kind, and the event-stream composer helpers. Public type names are
unchanged; the shared report-rendering helpers move from file-private to
internal so the split report types still reach them.

Make check-namespacing.sh namespace-aware: the previous column-anchored
scan was blind to types declared inside indented extension blocks, so it
passed while the rule was violated. It now counts direct members of a
PureYAML namespace extension and ignores nested types and private helpers.
2026-06-26 06:14:21 +02:00
..
Context.swift feat(package): bootstrap pure swift yaml package 2026-06-05 06:34:20 +02:00
DiagnosticValidation.swift feat(parser): harden diagnostics and streaming 2026-06-06 07:57:48 +02:00
Issue.Collection.swift feat(package): bootstrap pure swift yaml package 2026-06-05 06:34:20 +02:00
Issue.swift feat(package): bootstrap pure swift yaml package 2026-06-05 06:34:20 +02:00
Path.Component.swift feat(model): support complex mapping keys 2026-06-05 16:08:45 +02:00
Path.swift feat(package): bootstrap pure swift yaml package 2026-06-05 06:34:20 +02:00
PreflightScanner.swift feat(parser): harden diagnostics and streaming 2026-06-06 07:57:48 +02:00
Result.swift feat(package): bootstrap pure swift yaml package 2026-06-05 06:34:20 +02:00
Rule.Builtins.swift feat(model): support complex mapping keys 2026-06-05 16:08:45 +02:00
Rule.swift critic-fix(validation): make rules immutable 2026-06-05 11:27:06 +02:00
Severity.swift feat(package): bootstrap pure swift yaml package 2026-06-05 06:34:20 +02:00
Validation.BatchReport.swift refactor(code-style): one top-level type per source file 2026-06-26 06:14:21 +02:00
Validation.Diagnostic.swift refactor(code-style): one top-level type per source file 2026-06-26 06:14:21 +02:00
Validation.DiagnosticKind.swift refactor(code-style): one top-level type per source file 2026-06-26 06:14:21 +02:00
Validation.Report.swift refactor(code-style): one top-level type per source file 2026-06-26 06:14:21 +02:00
Validation.ReportError.swift feat(validation): add diagnostic report errors 2026-06-05 21:06:42 +02:00
Validation.Source.swift refactor(code-style): one top-level type per source file 2026-06-26 06:14:21 +02:00
Validation.SourceReport.swift refactor(code-style): one top-level type per source file 2026-06-26 06:14:21 +02:00
Validator.swift feat(model): support complex mapping keys 2026-06-05 16:08:45 +02:00