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.