Trees | Index | Help |
|
---|
Package pylilac :: Module Symbol :: Class Concatenation |
|
_Symbol
--+ |_Aggregation
--+ | Concatenation
Method Summary | |
---|---|
__init__(self,
symbols)
| |
Concatenate with another symbol. | |
__eq__(self,
other)
| |
__hash__(self)
| |
__nonzero__(self)
| |
Alternate with another symbol. | |
Build up a verbose representation according to BNF. | |
Compute the non-terminals the symbol depends on. | |
Inserts a sub-FSA in a FSA according to the rules in a grammar . |
Method Details |
---|
__add__(self,
b)
Concatenate with another symbol. AB + (X|YZ) ⇔
AB + X | AB + YZ ≡ ABX| ABYZ
|
__or__(self,
b)
Alternate with another symbol. AB | (X|YZ) ⇔ AB
| X | YZ
|
__repr__(self)
Build up a verbose representation according to BNF.
|
dependencies(self)Compute the non-terminals the symbol depends on.
|
insert_fsa(self, grammar, fsa, initial, final, tag=None)Inserts a sub-FSA in aFSA according to the rules in a grammar .
|
Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Sat Aug 26 09:33:46 2006 | http://epydoc.sf.net |