Package Martel :: Module Expression :: Class ParseRecords
[show private | hide private]
[frames | no frames]

Class ParseRecords

Expression --+    
             |    
   PassThrough --+
                 |
                ParseRecords


Method Summary
  __init__(self, format_name, attrs, record_expression, make_reader, reader_args)
  copy(self)
do a deep copy on this Expression tree
  features(self)
return a list of all features
  group_names(self)
the list of group names used by this Expression and its children
  make_iterator(self, tag, debug_level)
create an iterator for this regexp; the 'tag' defines a record
  make_parser(self, debug_level)
create a SAX compliant parser for this regexp
    Inherited from PassThrough
  __str__(self)
the corresponding pattern string
    Inherited from Expression
  __add__(self, other)
returns an Expression to match this Expression then the other one
  __or__(self, other)
returns an Expression matching this Expression or (if that fails) the other one

Method Details

copy(self)

do a deep copy on this Expression tree
Overrides:
Martel.Expression.PassThrough.copy

features(self)

return a list of all features
Overrides:
Martel.Expression.PassThrough.features

group_names(self)

the list of group names used by this Expression and its children
Overrides:
Martel.Expression.PassThrough.group_names (inherited documentation)

make_iterator(self, tag, debug_level=0)

create an iterator for this regexp; the 'tag' defines a record
Overrides:
Martel.Expression.Expression.make_iterator

make_parser(self, debug_level=0)

create a SAX compliant parser for this regexp
Overrides:
Martel.Expression.Expression.make_parser (inherited documentation)

Generated by Epydoc 2.1 on Thu Jun 30 22:05:58 2005 http://epydoc.sf.net