pub fn parse_yaml_report(input: &str) -> YamlParseReportExpand description
Parse prototype YAML tree structure and include diagnostics on failure.
Diagnostics flow through the v2-aware
[super::validator::validate_yaml] pass, which composes per-cluster
check_* functions covering directive ordering, structural shape
(unterminated flow, trailing content, invalid keys, indent
anomalies, block-scalar header, etc.), and lex-level checks like
LEX_INVALID_DOUBLE_QUOTED_ESCAPE.
The returned tree, when present, comes from the v2 scanner+builder.