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

List of all members.

Public Member Functions

def __init__
def __getitem__
def append
def leaveWhitespace
def ignore
def __str__
def streamline
def setResultsName
def validate

Public Attributes

 exprs
 callPreparse
 strRepr
 skipWhitespace

Detailed Description

Abstract subclass of ParserElement, for combining and post-processing parsed tokens.

Definition at line 2215 of file pyparsing.py.


Constructor & Destructor Documentation

def blockit::external::pyparsing::ParseExpression::__init__ (   self,
  exprs,
  savelist = False 
)

Member Function Documentation

def blockit::external::pyparsing::ParseExpression::__getitem__ (   self,
  i 
)

Definition at line 2230 of file pyparsing.py.

def blockit::external::pyparsing::ParseExpression::__str__ (   self)
def blockit::external::pyparsing::ParseExpression::append (   self,
  other 
)

Definition at line 2233 of file pyparsing.py.

def blockit::external::pyparsing::ParseExpression::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.

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

Definition at line 2247 of file pyparsing.py.

def blockit::external::pyparsing::ParseExpression::leaveWhitespace (   self)
Extends leaveWhitespace defined in base class, and also invokes leaveWhitespace on
   all contained expressions.

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

Definition at line 2238 of file pyparsing.py.

def blockit::external::pyparsing::ParseExpression::setResultsName (   self,
  name,
  listAllMatches = False 
)
Define name for referencing matching tokens as a nested attribute
   of the returned parse results.
   NOTE: this returns a *copy* of the original ParserElement object;
   this is so that the client can define a basic element, such as an
   integer, and reference it in multiple places with different names.

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

Definition at line 2301 of file pyparsing.py.

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

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

Definition at line 2269 of file pyparsing.py.

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

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

Definition at line 2305 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