ValueLocation class

Where one content value sits in the YAML text.

Constructors

ValueLocation({required String path, required String idPath, required ValueRole role, required int keyLine, required int keyColumn, required String value})
Records the value stored at document path under the key on line keyLine.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
idPath → String
The section-id path: the id of every YAML key from the root down, the member name where a key carries no id (SBP > INSC > ... > content).
final
keyColumn → int
0-based column of the value's key (its mapping's indentation).
final
keyLine → int
0-based line of the value's key.
final
path → String
The document path (the key of SpecDocument.toJson()['content']).
final
role → ValueRole
Whether the value is narrative text.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
value → String
The decoded value.
final

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