Add structured validation diagnostics, JSON and Yams comparison gates, and lazy token/event parsing so production behavior is measured without retaining full intermediate parser arrays.
12 lines
227 B
Swift
12 lines
227 B
Swift
extension PureYAML.Parsing {
|
|
enum ScannerFlowContextKind {
|
|
case sequence
|
|
case mapping
|
|
}
|
|
|
|
struct ScannerFlowContext {
|
|
var kind: ScannerFlowContextKind
|
|
var isExpectingKey: Bool
|
|
}
|
|
}
|