AcceptorCollector class

The AcceptorCollector collects (finds) final (last) states of the state.

Subsequently, these final states are transformed into acceptors.

The found states are used mainly to subscribe to the final stage of code generation of these states, for further transformation (code generation).

Implemented types

Constructors

AcceptorCollector()

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

collect(State state) List<OperationState>
Collects (finds) the final (last) states of the state and returns them as a list.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
visitChoice(ChoiceState node) List<OperationState>
Visits the ChoiceState node.
override
visitOperation(OperationState node) List<OperationState>
Visits the OperationState node.
override
visitSequence(SequenceState node) List<OperationState>
Visits the SequenceState node.
override

Operators

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