Skip to main content

Module yaml

Module yaml 

Source

Structs§

HashpipeYamlPreamble
ParsedYamlRegion
ParsedYamlRegionSnapshot
YamlAstRoot
YamlEmbeddedCst
YamlFrontmatterRegion
YamlMetadata
YamlParseError
YamlRegion

Enums§

YamlAstRootKind
YamlDocumentKind
YamlEmbeddingHost
YamlEmbeddingHostKind
YamlRegionKind

Functions§

collect_embedded_frontmatter_yaml_cst
collect_embedded_yaml_cst
collect_frontmatter_region
collect_frontmatter_yaml_region
collect_hashpipe_regions
collect_parsed_frontmatter_region
collect_parsed_yaml_region_snapshots
collect_parsed_yaml_regions
collect_yaml_regions
validate_yaml_text
validate_yaml_text_with_context
Like validate_yaml_text, but validates against the real consumers of a given (flavor, location) rather than the abstract YAML 1.2 substrate. Use this for in-document frontmatter / hashpipe regions so the verdict matches the parser’s own context-aware syntax-error channel (e.g. pandoc accepts a tab as indentation that the 1.2 substrate rejects). See tests/yaml/consumer-matrix.md.