TOC Toolkit API - v0.1.0
Preparing search index...
toc-toolkit/automata
StartedNfaBuilder
Interface StartedNfaBuilder
An NFA builder that can be consumed to produce one immutable form.
interface
StartedNfaBuilder
{
addState
()
:
StateIndex
;
markAccepting
(
state
:
StateIndex
)
:
void
;
addEpsilon
(
from
:
StateIndex
,
to
:
StateIndex
)
:
void
;
addTransition
(
from
:
StateIndex
,
symbol
:
AlphabetSymbol
,
to
:
StateIndex
,
)
:
void
;
build
()
:
Nfa
;
}
Index
Methods
add
State
mark
Accepting
add
Epsilon
add
Transition
build
Methods
add
State
addState
()
:
StateIndex
Returns
StateIndex
mark
Accepting
markAccepting
(
state
:
StateIndex
)
:
void
Parameters
state
:
StateIndex
Returns
void
add
Epsilon
addEpsilon
(
from
:
StateIndex
,
to
:
StateIndex
)
:
void
Parameters
from
:
StateIndex
to
:
StateIndex
Returns
void
add
Transition
addTransition
(
from
:
StateIndex
,
symbol
:
AlphabetSymbol
,
to
:
StateIndex
)
:
void
Parameters
from
:
StateIndex
symbol
:
AlphabetSymbol
to
:
StateIndex
Returns
void
build
build
()
:
Nfa
Returns
Nfa
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Methods
add
State
mark
Accepting
add
Epsilon
add
Transition
build
TOC Toolkit API - v0.1.0
Loading...
An NFA builder that can be consumed to produce one immutable form.