Skip to main content

Module ast

Module ast 

Source
Expand description

Abstract Syntax Tree (AST) representations for parsed YAML data.

The AST is designed for zero-copy borrowing from the source string. String scalars, booleans, and numeric representations are retained as slices &'a str into the original input buffer, avoiding heap allocations.

Structs§

Entry
A key-value association within a YAML mapping.

Enums§

Yaml
Represents any YAML node, borrowing string slices directly from the input.