BoundArgsReference class

Bound reference to arguments.

This class is used to represent references of the form "args.foo.bar" after a widget declaration has been bound to specific arguments via a constructor call. The arguments property is a reference to the ConstructorCall.arguments object (or, more typically, a clone of that object that itself has had references within it bound).

This class is an internal detail of the RFW Runtime and is generally not used directly.

Inheritance

Constructors

BoundArgsReference(Object arguments, List<Object> parts)
Wraps the given parts and arguments as a BoundArgsReference.
const

Properties

arguments Object
The object into which parts will be indexed.
final
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

Methods

associateSource(SourceRange source) → void
Assign a SourceRange to this BlobNode's source property.
inherited
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