TOC Toolkit API - v0.1.0
Preparing search index...
toc-toolkit
TwoStackInput
Interface TwoStackInput<Q, A, G1, G2>
Both initial words and every stack reference belong to their own declaration (D25).
interface
TwoStackInput
<
Q
extends
NonEmptyNames
,
A
extends
readonly
string
[]
,
G1
extends
readonly
string
[]
,
G2
extends
readonly
string
[]
,
>
{
states
:
Q
;
alphabet
:
A
;
stackAlphabet1
:
G1
;
stackAlphabet2
:
G2
;
start
:
NoInfer
<
Q
[
number
]
>
;
accept
:
readonly
NoInfer
<
Q
[
number
]
>
[]
;
initialStack1
:
readonly
NoInfer
<
G1
[
number
]
>
[]
;
initialStack2
:
readonly
NoInfer
<
G2
[
number
]
>
[]
;
transitions
:
readonly
TwoStackTransition
<
NoInfer
<
Q
[
number
]
>
,
NoInfer
<
A
[
number
]
>
,
NoInfer
<
G1
[
number
]
>
,
NoInfer
<
G2
[
number
]
>
,
>
[]
;
}
Type Parameters
Q
extends
NonEmptyNames
A
extends
readonly
string
[]
G1
extends
readonly
string
[]
G2
extends
readonly
string
[]
Index
Properties
states
alphabet
stack
Alphabet1
stack
Alphabet2
start
accept
initial
Stack1
initial
Stack2
transitions
Properties
Readonly
states
states
:
Q
Readonly
alphabet
alphabet
:
A
Readonly
stack
Alphabet1
stackAlphabet1
:
G1
Readonly
stack
Alphabet2
stackAlphabet2
:
G2
Readonly
start
start
:
NoInfer
<
Q
[
number
]
>
Readonly
accept
accept
:
readonly
NoInfer
<
Q
[
number
]
>
[]
Readonly
initial
Stack1
initialStack1
:
readonly
NoInfer
<
G1
[
number
]
>
[]
Readonly
initial
Stack2
initialStack2
:
readonly
NoInfer
<
G2
[
number
]
>
[]
Readonly
transitions
transitions
:
readonly
TwoStackTransition
<
NoInfer
<
Q
[
number
]
>
,
NoInfer
<
A
[
number
]
>
,
NoInfer
<
G1
[
number
]
>
,
NoInfer
<
G2
[
number
]
>
,
>
[]
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Properties
states
alphabet
stack
Alphabet1
stack
Alphabet2
start
accept
initial
Stack1
initial
Stack2
transitions
TOC Toolkit API - v0.1.0
Loading...
Both initial words and every stack reference belong to their own declaration (D25).