| Trees | Indices | Help |
|
|---|
|
|
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
The EndTrans(A) = { A_t1, ..., A_tk } is the set of "end transitions" of A i.e. those transitions that contain (None,'-',A). The LastSet(A) of A is defined recursively by EndTrans(A) together with the EndTrans of each element in EndTrans(A). Often LastSet(A) is just {None}. In those cases we do not care. This function computes the LastSets of all nodes in the NFA set. |
Constructs a set of regular expressions from an nfa :
If NFA = {L1:T1, ..., Ln:Tn} is given we try to construct a regex for each label L
that matches the same string as an NFALexer would match following the standard parsing
routine.
|
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Wed Aug 13 16:31:31 2008 | http://epydoc.sourceforge.net |