AnyStateReference class abstract

Base class for StateReference and BoundStateReference.

This is used to ensure SetStateHandler's SetStateHandler.stateReference property can only hold a state reference.

Inheritance
Implementers

Constructors

AnyStateReference(List<Object> parts)
Abstract const constructor. This constructor enables subclasses to provide const constructors so that they can be used in const expressions.
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

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.
inherited

Operators

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