TOC Toolkit API - v0.1.0
Preparing search index...
toc-toolkit/machines
<internal>
MachineDraft
Interface MachineDraft<S>
A machine draft. The draft may be invalid, and
start
may be absent.
interface
MachineDraft
<
S
extends
readonly
StoreSpec
[]
=
readonly
StoreSpec
[]
>
{
kind
:
MachineKind
;
inputAlphabet
:
readonly
AlphabetSymbol
[]
;
visibleAlphabet
?:
VisibleAlphabet
;
states
:
readonly
MachineState
[]
;
start
?:
`
state:
${
string
}
`
;
accepting
:
readonly
`
state:
${
string
}
`
[]
;
rejecting
:
readonly
`
state:
${
string
}
`
[]
;
acceptBy
:
ControlAcceptance
;
stores
:
S
;
transitions
:
readonly
Transition
<
S
>
[]
;
}
Type Parameters
S
extends
readonly
StoreSpec
[]
=
readonly
StoreSpec
[]
Index
Properties
kind
input
Alphabet
visible
Alphabet?
states
start?
accepting
rejecting
accept
By
stores
transitions
Properties
Readonly
kind
kind
:
MachineKind
Readonly
input
Alphabet
inputAlphabet
:
readonly
AlphabetSymbol
[]
Optional
Readonly
visible
Alphabet
visibleAlphabet
?:
VisibleAlphabet
Readonly
states
states
:
readonly
MachineState
[]
Optional
Readonly
start
start
?:
`
state:
${
string
}
`
Readonly
accepting
accepting
:
readonly
`
state:
${
string
}
`
[]
Readonly
rejecting
rejecting
:
readonly
`
state:
${
string
}
`
[]
Readonly
accept
By
acceptBy
:
ControlAcceptance
Readonly
stores
stores
:
S
Readonly
transitions
transitions
:
readonly
Transition
<
S
>
[]
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Properties
kind
input
Alphabet
visible
Alphabet
states
start
accepting
rejecting
accept
By
stores
transitions
TOC Toolkit API - v0.1.0
Loading...
A machine draft. The draft may be invalid, and
startmay be absent.