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

Class ParseExpression

   object --+    
            |    
ParserElement --+
                |
               ParseExpression

Known Subclasses:
And, MatchFirst, Or

Abstract subclass of ParserElement, for combining and post-processing parsed tokens.
Method Summary
  __init__(self, exprs, savelist)
  __str__(self)
  append(self, other)
  ignore(self, other)
Define expression to be ignored (e.g., comments) while doing pattern matching; may be called repeatedly, to define multiple comment or other ignorable patterns.
  leaveWhitespace(self)
  streamline(self)
  validate(self, validateTrace)
Inherited from ParserElement: __add__, __invert__, __or__, __radd__, __repr__, __ror__, __rxor__, __xor__, checkRecursion, getResultsName, parse, parseImpl, 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__

Method Details

ignore(self, other)

Define expression to be ignored (e.g., comments) while doing pattern matching; may be called repeatedly, to define multiple comment or other ignorable patterns.
Overrides:
pyparsing.ParserElement.ignore (inherited documentation)

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