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

List of all members.

Public Member Functions

def __init__
def parseImpl
def __str__

Public Attributes

 defaultValue
 mayReturnEmpty
 strRepr

Detailed Description

Optional matching of the given expression.
   A default return string can also be specified, if the optional expression
   is not found.

Definition at line 2789 of file pyparsing.py.


Constructor & Destructor Documentation

def blockit::external::pyparsing::Optional::__init__ (   self,
  exprs,
  default = _optionalNotMatched 
)

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

Definition at line 2794 of file pyparsing.py.


Member Function Documentation

def blockit::external::pyparsing::Optional::__str__ (   self)

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

Definition at line 2813 of file pyparsing.py.

def blockit::external::pyparsing::Optional::parseImpl (   self,
  instring,
  loc,
  doActions = True 
)

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

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