Module pyparsing :: Class MatchFirst
[frames | no frames]

Class MatchFirst

   object --+        
            |        
ParserElement --+    
                |    
  ParseExpression --+
                    |
                   MatchFirst


Requires that at least one ParseExpression is found. If two expressions match, the first one listed is the one that will match. May be constructed using the '|' operator.
Method Summary
  __init__(self, exprs, savelist)
  __ior__(self, other)
  __str__(self)
  checkRecursion(self, parseElementList)
  parseImpl(self, instring, loc, doActions)
Inherited from ParseExpression: append, ignore, leaveWhitespace, streamline, validate
Inherited from ParserElement: __add__, __invert__, __or__, __radd__, __repr__, __ror__, __rxor__, __xor__, getResultsName, parse, parseString, postParse, preParse, scanString, setDebug, setName, setParseAction, setResultsName, skipIgnorables, suppress, tryParse
Inherited from object: __delattr__, __getattribute__, __hash__, __reduce__, __reduce_ex__, __setattr__
Inherited from type: __new__

Class Variable Summary
list __slotnames__ = []

Class Variable Details

__slotnames__

Type:
list
Value:
[]                                                                     

Generated by Epydoc 2.0 on Sat Mar 20 09:58:33 2004 http://epydoc.sf.net