ExecutionStepBuilder<T> class
Constructors
-
ExecutionStepBuilder(RootState<
T> root, History<T> priorHistory, [Iterable<State< priorStates = const []])T> >
Properties
-
activeStates
↔ StateSet<
T> -
latefinal
- hashCode → int
-
The hash code for this object.
no setterinherited
-
history
↔ HistoryBuilder<
T> -
latefinal
-
root
→ RootState<
T> -
The root of the tree (statechart).
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
statesForDefaultEntry
→ Iterable<
State< T> > -
States that require their default initializers, in order.
no setter
-
statesToEnter
→ Iterable<
State< T> > -
States that require their default initializers as a result of resolving history, in order.
States that require
onEnter
, in order.no setter -
statesToExit
→ Iterable<
State< T> > -
States that require
onExit
, in order.no setter -
transitions
↔ Iterable<
Transition< T> > -
latefinal
Methods
-
addAncestorStatesToEnter(
State< T> state, [State<T> ? ancestor]) → void - Walks up the tree collecting states to enter.
-
addDescendantStatesToEnter(
State< T> state) → void - Selects active descendents, substituting history values when necessary.
-
applyTransitions(
Iterable< Transition< selectedTransitions) → voidT> > -
Populates statesToEnter, statesToExit, statesForDefaultEntry, and
historyStatesForDefaltEntry
. -
build(
[T? context]) → ExecutionStep< T> -
computeEntrySet(
Iterable< Transition< transitions) → voidT> > - Computes statesToEnter and statesForDefaultEntry using the transitions.
-
computeExitSet(
Iterable< Transition< transitions) → StateSet<T> >T> - Computes statesToExit using the transitions.
-
getEffectiveTargetStates(
dynamic transition) → Set< State< T> > - All targets of 'transition' after replacing any history states.
-
getTransitionDomain(
Transition< T> t) → State<T> ? - The smallest possible subtree containing all the transition targets.
-
historyValuesFor(
State< T> s, StateSet<T> context) → Iterable<State< T> > -
isInFinalState(
State< T> s) → bool - True if this parent state has an active final child.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeConflictingTransitions(
Iterable< Transition< enabledTransitions) → Iterable<T> >Transition< T> > - Selects for the highest targets in the tree (only needed when transitions come from a parallel state).
-
saveHistory(
State< T> s) → void - Saves the current state of s to history (if s contains a history state).
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited