| # Gaudi Framework, version v25r0 |

Home |  | Generated: Mon Feb 17 2014

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
pyparsing.OneOrMore Class Reference
Inheritance diagram for pyparsing.OneOrMore:
[legend]
Collaboration diagram for pyparsing.OneOrMore:
[legend]

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

## Public Attributes
| strRepr
Public Attributes inherited from pyparsing.ParseElementEnhance
| expr
| strRepr
| mayIndexError
| mayReturnEmpty
| skipWhitespace
| saveAsList
| callPreparse
Public Attributes inherited from pyparsing.ParserElement
| parseAction
| failAction
| strRepr
| resultsName
| saveAsList
| skipWhitespace
| whiteChars
| copyDefaultWhiteChars
| mayReturnEmpty
| keepTabs
| ignoreExprs
| debug
| streamlined
| mayIndexError
| errmsg
| modalResults
| debugActions
| re
| callPreparse
| callDuringTry
| name
| myException

## Additional Inherited Members
Static Public Attributes inherited from pyparsing.ParserElement
string | DEFAULT_WHITE_CHARS " \n\t\r"
tuple | setDefaultWhitespaceChars staticmethod(setDefaultWhitespaceChars)
tuple | resetCache staticmethod(resetCache)
tuple | enablePackrat staticmethod(enablePackrat)

## Detailed Description

    Repetition of one or more of the given expression.

Definition at line 2747 of file pyparsing.py.

## Member Function Documentation

def pyparsing.OneOrMore.__str__ | ( |  | self | ) |

Definition at line 2767 of file pyparsing.py.

2767
2768 def __str__( self ):
2769 if hasattr(self,"name"):
2770 return self.name
2771
2772 if self.strRepr is None:
2773 self.strRepr = "{" + _ustr(self.expr) + "}..."
2774
2775 return self.strRepr

def pyparsing.OneOrMore.parseImpl | ( |  | self,
|  |  | instring,
|  |  | loc,
|  |  | doActions = `True`
| ) |  |

Definition at line 2749 of file pyparsing.py.

2749
2750 def parseImpl( self, instring, loc, doActions=True ):
2751 # must be at least one
2752 loc, tokens = self.expr._parse( instring, loc, doActions, callPreParse=False )
2753 try:
2754 hasIgnoreExprs = ( len(self.ignoreExprs) > 0 )
2755 while 1:
2756 if hasIgnoreExprs:
2757 preloc = self._skipIgnorables( instring, loc )
2758 else:
2759 preloc = loc
2760 loc, tmptokens = self.expr._parse( instring, preloc, doActions )
2761 if tmptokens or tmptokens.keys():
2762 tokens += tmptokens
2763 except (ParseException,IndexError):
2764 pass
2765
2766 return loc, tokens

def pyparsing.OneOrMore.setResultsName | ( |  | self,
|  |  | name,
|  |  | listAllMatches = `False`
| ) |  |

Definition at line 2776 of file pyparsing.py.

2776
2777 def setResultsName( self, name, listAllMatches=False ):
2778 ret = super(OneOrMore,self).setResultsName(name,listAllMatches)
2779 ret.saveAsList = True
2780 return ret

## Member Data Documentation

pyparsing.OneOrMore.strRepr

Definition at line 2772 of file pyparsing.py.

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

- /afs/cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v25r0/cmake/cmt2cmake/pyparsing.py