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

Type Forward

     object --+        
              |        
  ParserElement --+    
                  |    
ParseElementEnhance --+
                      |
                     Forward


Forward declaration of an expression to be defined later - used for recursive grammars, such as algebraic infix notation. When the expression is known, it is assigned to the Forward variable using the '<<' operator.
Method Summary
  __init__(self, other)
  __lshift__(self, other)
  __str__(self)
  leaveWhitespace(self)
  streamline(self)
  validate(self, validateTrace)
Check defined expressions for valid structure, check for infinite recursive definitions.
Inherited from ParseElementEnhance: checkRecursion, ignore, parseImpl
Inherited from ParserElement: __add__, __invert__, __or__, __radd__, __repr__, __ror__, __rxor__, __xor__, parse, parseFile, parseString, parseWithTabs, postParse, preParse, scanString, setDebug, setName, setParseAction, setResultsName, skipIgnorables, suppress, transformString, tryParse
Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__

Method Details

validate(self, validateTrace=[])

Check defined expressions for valid structure, check for infinite recursive definitions.
Overrides:
pyparsing.ParseElementEnhance.validate (inherited documentation)

Generated by Epydoc 2.1 on Mon Sep 27 00:24:58 2004 http://epydoc.sf.net