Module YamlNode

module YamlNode: sig .. end

A node in a YAML document.


type uri = string 

A fully-qualified URI that indicates the type of the node.

type t = 
| SCALAR of uri * string (*

SCALAR (type, value) is a scalar node.

*)
| SEQUENCE of uri * t list (*

SEQUENCE (type, nodes) is a sequence of nodes.

*)
| MAPPING of uri * (t * t) list (*

MAPPING (type, map) is a mapping of keys to values.

*)

The three node kinds, scalar, sequence, and mapping.