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

Involved Source Files ss_nfa.go states_utils.go
Package-Level Type Names (total 4)
/* sort by: | */
NfaGroupsDef contains all the state groups Nfa state machine. Steps S var NfaGroups
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.