Table of Contents

Class: Group Martel/Expression.py
Base Classes   
Expression
Methods   
__init__
__str__
_find_groups
_modify_leaves
_select_names
copy
features
group_names
  __init__ 
__init__ (
        self,
        name,
        expression,
        attrs=None,
        )

(name, expression)

Create a group named name which matches the given expression

  __str__ 
__str__ ( self )

the corresponding pattern string

  _find_groups 
_find_groups ( self,  tag )

return a list of all groups matching the given tag

  _modify_leaves 
_modify_leaves ( self,  func )

  _select_names 
_select_names ( self,  names )

internal function: do not use

  copy 
copy ( self )

do a deep copy on this Expression tree

  features 
features ( self )

return a list of all features

  group_names 
group_names ( self )

the list of group names used by this Expression and its children


Table of Contents

This document was automatically generated on Mon Jul 1 12:03:20 2002 by HappyDoc version 2.0.1