YamlNode class abstract

An interface for parsed nodes from a YAML source tree.

YamlMaps and YamlLists implement this interface in addition to the normal Map and List interfaces, so any maps and lists will be YamlNodes regardless of how they're accessed.

Scalars values like strings and numbers, on the other hand, don't have this interface by default. Instead, they can be accessed as YamlScalars via YamlMap.nodes or YamlList.nodes.

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 → SourceSpan
The source span for this node.
no setter
value → dynamic
The inner value of this node.
no setter

Methods

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