State class abstract

The base supertype of all states.

Implementers

Constructors

State(String type, {String result = 'null'})

Properties

hashCode → int
The hash code for this object.
no setterinherited
hasSingleOutput → bool
no setter
listeners → List<Listener>
final
next ↔ State?
getter/setter pair
parent ↔ State?
getter/setter pair
previous ↔ State?
getter/setter pair
result ↔ String
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
source ↔ String
getter/setter pair
type ↔ String
getter/setter pair

Methods

accept<T>(StateVisitor<T> visitor) → T
generate(Allocate allocate) → String
listen(Listener listener) → void
listenToAcceptors(void callback(OperationState acceptor, Allocate allocate)) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
renderAcceptance(String? acceptance) → void
renderRejection(String? rejection) → void
toString() → String
A string representation of this object.
inherited
visitChildren<T>(StateVisitor<T> visitor) → void

Operators

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

Constants

acceptPlaceholder → const String
rejectPlaceholder → const String