YamlScalar class

A wrapped scalar value parsed from YAML.

Inheritance

Constructors

YamlScalar.internal(dynamic value, ScalarEvent scalar)
Users of the library should not use this constructor.
YamlScalar.internalWithSpan(dynamic value, SourceSpan span)
Users of the library should not use this constructor.
YamlScalar.wrap(dynamic value, {dynamic sourceUrl, ScalarStyle style = ScalarStyle.ANY})
Wraps a Dart value in a YamlScalar.

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 setterinherited
style ScalarStyle
The style used for the scalar in the original document.
final
value → dynamic
The inner value of this node.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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