Typedefs

YamlWarningCallback(String message, [SourceSpan span]) → dynamic

A callback for emitting a warning.

Properties

yamlWarningCallback YamlWarningCallback

A callback for emitting a warning.

read / write

Functions

loadYaml(String yaml, {sourceUrl}) → dynamic

Loads a single document from a YAML string.

loadYamlDocument(String yaml, {sourceUrl}) YamlDocument

Loads a single document from a YAML string as a YamlDocument.

loadYamlDocuments(String yaml, {sourceUrl}) → List<YamlDocument>

Loads a stream of documents from a YAML string.

loadYamlNode(String yaml, {sourceUrl}) YamlNode

Loads a single document from a YAML string as a YamlNode.

loadYamlStream(String yaml, {sourceUrl}) YamlList

Loads a stream of documents from a YAML string.

Classes

CollectionStyle

An enum of collection styles.

ScalarStyle

An enum of source scalar styles.

TagDirective

A directive describing a custom tag handle.

VersionDirective

A directive indicating which version of YAML a document was written to.

YamlDocument

A YAML document, complete with metadata.

YamlList

A read-only List parsed from YAML.

YamlMap

A read-only Map parsed from YAML.

YamlNode

An interface for parsed nodes from a YAML source tree.

YamlScalar

A wrapped scalar value parsed from YAML.

Exceptions / Errors

YamlException

An error thrown by the YAML processor.