Skip to main content

Module document

Module document 

Source
👎Deprecated since 0.0.6:

libyml is unmaintained. Migrate to a maintained alternative (unsafe-libyaml, yaml-rust2, or noyalib). See MIGRATION.md.

Expand description

Document-tree helpers. Re-exported from the crate root for source compatibility with libyml ≤ 0.0.5’s libyml::document module.

Functions§

yaml_document_add_mapping
Create a MAPPING node and attach it to the document.
yaml_document_add_scalar
Create a SCALAR node and attach it to the document.
yaml_document_add_sequence
Create a SEQUENCE node and attach it to the document.
yaml_document_append_mapping_pair
Add a pair of a key and a value to a MAPPING node.
yaml_document_append_sequence_item
Add an item to a SEQUENCE node.
yaml_document_delete
Delete a YAML document and all its nodes.
yaml_document_end_event_initialize
Create the DOCUMENT-END event.
yaml_document_get_node
Get a node of a YAML document.
yaml_document_get_root_node
Get the root of a YAML document node.
yaml_document_initialize
Create a YAML document.
yaml_document_start_event_initialize
Create the DOCUMENT-START event.