Logo Search packages:      
Sourcecode: bauble version File versions

bauble::utils::pyparsing::Forward Class Reference

Inheritance diagram for bauble::utils::pyparsing::Forward:

bauble::utils::pyparsing::ParseElementEnhance bauble::utils::pyparsing::ParserElement

List of all members.

Detailed Description

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.

   Note: take care when assigning to Forward not to overlook precedence of operators.
   Specifically, '|' has a lower precedence than '<<', so that::
      fwdExpr << a | b | c
   will actually be evaluated as::
      (fwdExpr << a) | b | c
   thereby leaving b and c out as parseable alternatives.  It is recommended that you
   explicitly group the values inserted into the Forward::
      fwdExpr << (a | b | c)

Definition at line 2852 of file pyparsing.py.

Public Member Functions

def __add__
def __and__
def __call__
def __eq__
def __getattr__
def __hash__
def __init__
def __init__
def __invert__
def __lshift__
def __mul__
def __ne__
def __or__
def __radd__
def __rand__
def __repr__
def __req__
def __rmul__
def __rne__
def __ror__
def __rsub__
def __rxor__
def __str__
def __sub__
def __xor__
def addParseAction
def checkRecursion
def copy
def enablePackrat
def getException
def ignore
def leaveWhitespace
def parseFile
def parseImpl
def parseString
def parseWithTabs
def postParse
def preParse
def resetCache
def scanString
def searchString
def setBreak
def setDebug
def setDebugActions
def setDefaultWhitespaceChars
def setFailAction
def setName
def setParseAction
def setResultsName
def setWhitespaceChars
def streamline
def suppress
def transformString
def tryParse
def validate

Public Attributes


Static Public Attributes

string DEFAULT_WHITE_CHARS = " \n\t\r"
tuple enablePackrat = staticmethod(enablePackrat)
tuple resetCache = staticmethod(resetCache)
tuple setDefaultWhitespaceChars = staticmethod(setDefaultWhitespaceChars)

Private Attributes


The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index