Loader class

A loader that reads Events emitted by a Parser and emits YamlDocuments.

This is based on the libyaml loader, available at https://github.com/yaml/libyaml/blob/master/src/loader.c. The license for that is available in ../../libyaml-license.txt.

Constructors

Loader(String source, {Uri? sourceUrl, bool recover = false, ErrorListener? errorListener})
Creates a loader that loads source.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
span → FileSpan
The span of the entire stream emitted so far.
no setter

Methods

load() YamlDocument?
Loads the next document from the stream.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited