UNPKG
cl-fsm
Version:
latest (0.0.4)
0.0.4
0.0.3
0.0.2
0.0.1
Regular Expression && FSM
github.com/LoveKino/cl-fsm
LoveKino/cl-fsm
cl-fsm
/
lib
/
thompsonNFA.js
14 lines
(10 loc)
•
218 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
'use strict'
;
let
ThompsonNFA
=
function
(
nfa, start, end
) {
this
.
nfa
= nfa;
this
.
start
= start;
this
.
end
= end; };
ThompsonNFA
.
prototype
= {
constructor
:
ThompsonNFA
};
module
.
exports
=
ThompsonNFA
;