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

Class Seq

Expression --+    
             |    
ExpressionList --+
                 |
                Seq


An Expression matching a set of subexpressions, in sequential order
Method Summary
  __init__(self, expressions)
(expressions)
  __add__(self, other)
returns an Expression to match this Expression then the other one
  __str__(self)
the corresponding pattern string
    Inherited from ExpressionList
  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 or its children
    Inherited from Expression
  __or__(self, other)
returns an Expression matching this Expression or (if that fails) the other one
  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

Method Details

__init__(self, expressions)
(Constructor)

(expressions)

Match the list of sequential expressions, in order. Each expression starts matching at the point where the previous match finished.

__add__(self, other)
(Addition operator)

returns an Expression to match this Expression then the other one
Overrides:
Martel.Expression.Expression.__add__ (inherited documentation)

__str__(self)
(Informal representation operator)

the corresponding pattern string
Overrides:
Martel.Expression.Expression.__str__

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