UNPKG
lexer-state
Version:
latest (1.0.7-alpha.1)
1.0.7-alpha.1
1.0.7-alpha.0
1.0.6
1.0.5
1.0.5-alpha.0
1.0.4
1.0.4-alpha.2
1.0.4-alpha.1
1.0.4-alpha.0
1.0.3
1.0.3-alpha.0
1.0.2
1.0.1-alpha.2
1.0.1-alpha.1
1.0.1-alpha.0
1.0.0-alpha.10
1.0.0-alpha.9
1.0.0-alpha.8
1.0.0-alpha.7
1.0.0-alpha.6
1.0.0-alpha.5
1.0.0-alpha.4
1.0.0-alpha.3
Lightweight state machine library to define and manage state transition declaratively
lexer-state
/
packages
/
machine
/
src
/
store
/
index.ts
11 lines
(9 loc)
•
220 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
11
export
interface
ILexerStore
{
init
():
ILexerStore
; add<T
extends
Record
<
string
,
any
>>(
name
:
string
,
data
:
Partial
<T>, ):
void
;
retrieveState
(
tableName
:
string
):
string
; }
export
*
from
'./relayStore'
;