Trees | Index | Help |
---|
Package Martel :: Module Expression :: Class Assert |
|
Expression
--+
|
Assert
Method Summary | |
---|---|
(expression, invert = 0) | |
the corresponding pattern string | |
do a deep copy on this Expression tree | |
internal function for manipulating the leaves of an expression | |
Inherited from Expression | |
returns an Expression to match this Expression then the other one | |
returns an Expression matching this Expression or (if that fails) the other one | |
return a list of all features | |
the list of group names used by this Expression and its children | |
create an iterator for this regexp; the 'tag' defines a record | |
create a SAX compliant parser for this regexp | |
return a list of all groups matching the given tag | |
internal function used by 'select_names'. |
Method Details |
---|
__init__(self,
expression,
invert=0)
|
__str__(self)
the corresponding pattern string
|
copy(self)do a deep copy on this Expression tree
|
_modify_leaves(self, func)internal function for manipulating the leaves of an expression This really needs to be some sort of visit pattern, but I'm not sure the best way to do it. THIS METHOD MAY CHANGE.
|
Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Mon Aug 27 16:43:45 2007 | http://epydoc.sf.net |