Table of Contents

Class: ParseRecords Martel/Expression.py

Might be useful to allow a minimum record count (likely either 0 or 1)

Base Classes   
PassThrough
Methods   
__init__
_find_groups
_modify_leaves
copy
features
group_names
make_iterator
make_parser
  __init__ 
__init__ (
        self,
        format_name,
        attrs,
        record_expression,
        make_reader,
        reader_args=(),
        )

Exceptions   
TypeError( "Looks like you need an attrs between the format_name and the record_expression" )
  _find_groups 
_find_groups ( self,  tag )

  _modify_leaves 
_modify_leaves ( self,  func )

  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 )

  make_iterator 
make_iterator (
        self,
        tag,
        debug_level=0,
        )

create an iterator for this regexp; the tag defines a record

  make_parser 
make_parser ( self,  debug_level=0 )


Table of Contents

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