Expand description
API module for LibYML
Structs§
- Create a SCALAR event.
Functions§
- Create an ALIAS event.
- Create a MAPPING node and attach it to the document.
- Create a SCALAR node and attach it to the document.
- Create a SEQUENCE node and attach it to the document.
- Add a pair of a key and a value to a MAPPING node.
- Add an item to a SEQUENCE node.
- Delete a YAML document and all its nodes.
- Create the DOCUMENT-END event.
- Get a node of a YAML document.
- Get the root of a YAML document node.
- Create a YAML document.
- Create the DOCUMENT-START event.
- Destroy an emitter.
- Initialize an emitter.
- Set the preferred line break.
- Set if the output should be in the “canonical” format as in the YAML specification.
- Set the output encoding.
- Set the indentation increment.
- Set a generic output handler.
- Set a string output.
- Set if unescaped non-ASCII characters are allowed.
- Set the preferred line width. -1 means unlimited.
- Free any memory allocated for an event object.
- Free memory allocated by
yaml_malloc
oryaml_realloc
. - Allocate memory using the system’s
malloc
function. - Create a MAPPING-END event.
- Create a MAPPING-START event.
- Destroy a parser.
- Initialize a parser.
- Set the source encoding.
- Set a generic input handler.
- Set a string input.
- Extend a queue by reallocating and copying the existing data.
- Reallocate memory using the system’s
realloc
function. - Create a SCALAR event.
- Create a SEQUENCE-END event.
- Create a SEQUENCE-START event.
- Extend a stack by reallocating and copying the existing data.
- Duplicate a string using the system’s
strdup
function. - Create the STREAM-END event.
- Create the STREAM-START event.
- Extend a string buffer by reallocating and copying the existing data.
- Join two string buffers by copying data from one to the other.
- Free any memory allocated for a token object.