Package parserFwk :: Module pyparsing :: Class Optional
[frames | no frames]

Type Optional

     object --+        
              |        
  ParserElement --+    
                  |    
ParseElementEnhance --+
                      |
                     Optional


Optional matching of the given expression. A default return string can also be specified, if the optional expression is not found.
Method Summary
  __init__(self, exprs, default)
  __str__(self)
  parseImpl(self, instring, loc, doActions)
Inherited from ParseElementEnhance: checkRecursion, ignore, leaveWhitespace, streamline, validate
Inherited from ParserElement: __add__, __and__, __invert__, __or__, __radd__, __rand__, __repr__, __ror__, __rxor__, __xor__, addParseAction, copy, enablePackrat, normalizeParseActionArgs, parseFile, parseString, parseWithTabs, postParse, preParse, resetCache, scanString, searchString, setDebug, setDebugActions, setDefaultWhitespaceChars, setFailAction, setName, setParseAction, setResultsName, setWhitespaceChars, skipIgnorables, suppress, transformString, tryParse
Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__

Class Variable Summary
list __slotnames__ = []
Inherited from ParserElement: DEFAULT_WHITE_CHARS

Class Variable Details

__slotnames__

Type:
list
Value:
[]                                                                     

Generated by Epydoc 2.1 on Fri Dec 22 02:04:35 2006 http://epydoc.sf.net