TOC Toolkit API - v0.1.0
Preparing search index...
toc-toolkit
twoWayDfa
Function twoWayDfa
twoWayDfa
<
const
Q
extends
NonEmptyNames
,
const
A
extends
readonly
string
[]
,
const
G
extends
readonly
string
[]
,
>
(
input
:
TwoWayDfaInput
<
Q
,
A
,
G
>
&
InputOnTape
<
NoInfer
<
A
[
number
]
>
,
NoInfer
<
G
[
number
]
>
,
>
,
)
:
Result
<
Typed
<
TwoWayDfaMachine
,
A
[
number
]
,
Q
[
number
]
>
,
TocError
>
Builds a read-only marked tape, checked for deterministic guards by its owner.
Type Parameters
const
Q
extends
NonEmptyNames
const
A
extends
readonly
string
[]
const
G
extends
readonly
string
[]
Parameters
input
:
TwoWayDfaInput
<
Q
,
A
,
G
>
&
InputOnTape
<
NoInfer
<
A
[
number
]
>
,
NoInfer
<
G
[
number
]
>
>
Returns
Result
<
Typed
<
TwoWayDfaMachine
,
A
[
number
]
,
Q
[
number
]
>
,
TocError
>
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
TOC Toolkit API - v0.1.0
Loading...
Builds a read-only marked tape, checked for deterministic guards by its owner.