PatchbayOutputProjectionPath class final

A parsed restricted path: $ followed by one or more .field, where any non-final field may carry [] to traverse the maps of a list.

Nothing else is accepted. There are no wildcards, no indices, no filters and no escapes, so a declaration can neither address a member it was not written to address nor smuggle runtime text into localView.omitted.

Constructors

PatchbayOutputProjectionPath.parse(String pattern, {bool allowListTraversal = true, String path = r'$'})
Parses pattern, throwing FormatException when it is not a restricted path. allowListTraversal is false for an artifact member, which the proposal restricts to exactly one member and therefore forbids [] in.
factory

Properties

containerSegments List<PatchbayOutputProjectionPathSegment>
Every step above the leaf.
no setter
hashCode int
The hash code for this object.
no setterinherited
leafKey String
The key the rule deletes, or the member the artifact renders.
no setter
pattern String
The literal declaration text. This — never a value derived from the instance being projected — is what localView.omitted echoes.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
segments List<PatchbayOutputProjectionPathSegment>
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