Recorded class abstract base

One thing recorded into a pass, in order.

A hierarchy of values rather than a list of strings, so a test asserts on values it can construct rather than on a rendering of them — a string comparison would pass for the wrong reasons the first time a toString changed.

Open, not sealed, since 1.0. A pass gains calls in minor releases, and each new kind of record would have been a new case every exhaustive switch over a sealed type had to add: a break in a minor. A switch over a Recorded ends with a wildcard, as a test that names only the records it cares about already does.

Implementers

Constructors

Recorded()
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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