BlockIt
blockit::external::pyparsing::Forward Class Reference
Inheritance diagram for blockit::external::pyparsing::Forward:
Collaboration diagram for blockit::external::pyparsing::Forward:

List of all members.

Public Member Functions

def __init__
def __lshift__
def leaveWhitespace
def streamline
def validate
def __str__
def copy

Public Attributes

 expr
 mayReturnEmpty
 strRepr
 mayIndexError
 skipWhitespace
 saveAsList
 streamlined

Private Attributes

 _revertClass
 __class__

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 2889 of file pyparsing.py.


Constructor & Destructor Documentation

def blockit::external::pyparsing::Forward::__init__ (   self,
  other = None 
)

Reimplemented from blockit::external::pyparsing::ParserElement.

Definition at line 2903 of file pyparsing.py.


Member Function Documentation

def blockit::external::pyparsing::Forward::__lshift__ (   self,
  other 
)

Definition at line 2906 of file pyparsing.py.

def blockit::external::pyparsing::Forward::__str__ (   self)
def blockit::external::pyparsing::Forward::copy (   self)
Make a copy of this ParserElement.  Useful for defining different parse actions
   for the same parsing pattern, using copies of the original parse element.

Reimplemented from blockit::external::pyparsing::ParserElement.

Definition at line 2953 of file pyparsing.py.

def blockit::external::pyparsing::Forward::leaveWhitespace (   self)
Disables the skipping of whitespace before matching the characters in the
   ParserElement's defined pattern.  This is normally only used internally by
   the pyparsing module, but may be needed in some whitespace-sensitive grammars.

Reimplemented from blockit::external::pyparsing::ParseElementEnhance.

Definition at line 2920 of file pyparsing.py.

def blockit::external::pyparsing::Forward::streamline (   self)

Reimplemented from blockit::external::pyparsing::ParseElementEnhance.

Definition at line 2924 of file pyparsing.py.

def blockit::external::pyparsing::Forward::validate (   self,
  validateTrace = [] 
)
Check defined expressions for valid structure, check for infinite recursive definitions.

Reimplemented from blockit::external::pyparsing::ParseElementEnhance.

Definition at line 2931 of file pyparsing.py.


Member Data Documentation


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Properties