Trees
Indices
Help
EasyExtend
Package EasyExtend :: Package trail ::
Module nfagen
:: Class NFAGenerator
[
hide private
]
[
frames
] |
no frames
]
Class NFAGenerator
Instance Methods
[
hide private
]
__init__
(
self
,
langlet
,
typ
=
'
parse
'
)
create_all
(
self
)
Creates all nfas for an existing langlet.
create_nfa
(
self
,
rule
,
init
)
extend_nfa
(
self
,
nfa
,
r
)
If r is the nid of a rule, then modify each label (a,b) to (a,b,r)
substitute
(
self
,
nfa
)
Substitute (None,'+') by the rhs of the rule.
Trees
Indices
Help
EasyExtend
Generated by Epydoc 3.0.1 on Wed Aug 13 16:31:31 2008
http://epydoc.sourceforge.net