BoundLoopReference class
Bound reference to a Loop.
This class is used to represent references of the form "loopvar.foo.bar" after the list containing the relevant loop has been dereferenced so that the loop variable refers to a specific value in the list. The value is that resolved value.
This class is an internal detail of the RFW Runtime and is generally not used directly.
Constructors
-
BoundLoopReference(Object value, List<
Object> parts) -
Wraps the given
value
andparts
as a BoundLoopReference.const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
parts
→ List<
Object> -
The components of the reference. Each entry must be either a String (to
index into a DynamicMap) an integer (to index into a DynamicList).
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- source → SourceRange?
-
The source location that corresponds to this BlobNode, if known.
no setterinherited
- value → Object
-
The object into which parts will index.
final
Methods
-
associateSource(
SourceRange source) → void -
Assign a SourceRange to this BlobNode's
source
property.inherited -
constructReference(
List< Object> moreParts) → BoundLoopReference -
Creates a new
BoundLoopRefererence
that indexes even deeper than this one. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
propagateSource(
BlobNode? original) → void -
Assign another BlobNode's SourceRange to this BlobNode's source
property.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited