package states
Import Path
github.com/pancsta/asyncmachine-go/examples/nfa/states (on go.dev)
Dependency Relation
imports one package, and imported by 0 packages
Package-Level Type Names (total 4)
NfaStatesDef contains all the states of the Nfa state machine.
Input0 string
Input0Done string
Input1 string
Input1Done string
Ready string
Start string
StatesBase *am.StatesBase
Exception is the only built-in state and mean a global error. All errors
have to [State.Require] the Exception state. If [Machine.PanicToErr] is
true, Exception will receive it.
Step0 string
Step1 string
Step2 string
Step3 string
StepX string
( NfaStatesDef) Names() machine.S
( NfaStatesDef) SetNames(names machine.S)
( NfaStatesDef) SetStateGroups(groups map[string][]int, order []string)
( NfaStatesDef) StateGroups() (map[string][]int, []string)
NfaStatesDef : github.com/pancsta/asyncmachine-go/pkg/machine.States
var NfaStates
S is a type alias for a list of state names.
State is a type alias for a state definition. See [am.State].
Package-Level Variables (total 8)
Exception is a type alias for the exception state.
NfaGroups contains all the state groups for the Nfa machine.
NfaSchema represents all relations and properties of NfaStates.
NfaStates contains all the states for the Nfa machine.
SAdd is a func alias for merging lists of states.
SchemaMerge is a func alias for extending an existing state structure.
StateAdd is a func alias for adding to an existing state definition.
StateSet is a func alias for replacing parts of an existing state
definition.
![]() |
The pages are generated with Golds v0.8.2. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |