Gaudi Framework, version v23r6

Home   Generated: Wed Jan 30 2013
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | List of all members
pyparsing.CaselessKeyword Class Reference
Inheritance diagram for pyparsing.CaselessKeyword:
Inheritance graph
[legend]
Collaboration diagram for pyparsing.CaselessKeyword:
Collaboration graph
[legend]

Public Member Functions

def __init__
 
def parseImpl
 
- Public Member Functions inherited from pyparsing.Keyword
def __init__
 
def parseImpl
 
def copy
 
def setDefaultKeywordChars
 
- Public Member Functions inherited from pyparsing.Token
def __init__
 
def setName
 
- 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__
 

Additional Inherited Members

- Public Attributes inherited from pyparsing.Keyword
 match
 
 matchLen
 
 firstMatchChar
 
 name
 
 errmsg
 
 mayReturnEmpty
 
 mayIndexError
 
 caseless
 
 caselessmatch
 
 identChars
 
- Static Public Attributes inherited from pyparsing.Keyword
string DEFAULT_KEYWORD_CHARS "_$"
 
tuple setDefaultKeywordChars staticmethod(setDefaultKeywordChars)
 

Detailed Description

Definition at line 1600 of file pyparsing.py.

Constructor & Destructor Documentation

def pyparsing.CaselessKeyword.__init__ (   self,
  matchString,
  identChars = Keyword.DEFAULT_KEYWORD_CHARS 
)

Definition at line 1601 of file pyparsing.py.

1602  def __init__( self, matchString, identChars=Keyword.DEFAULT_KEYWORD_CHARS ):
1603  super(CaselessKeyword,self).__init__( matchString, identChars, caseless=True )

Member Function Documentation

def pyparsing.CaselessKeyword.parseImpl (   self,
  instring,
  loc,
  doActions = True 
)

Definition at line 1604 of file pyparsing.py.

1605  def parseImpl( self, instring, loc, doActions=True ):
1606  if ( (instring[ loc:loc+self.matchLen ].upper() == self.caselessmatch) and
1607  (loc >= len(instring)-self.matchLen or instring[loc+self.matchLen].upper() not in self.identChars) ):
1608  return loc+self.matchLen, self.match
1609  #~ raise ParseException( instring, loc, self.errmsg )
1610  exc = self.myException
1611  exc.loc = loc
1612  exc.pstr = instring
1613  raise exc

The documentation for this class was generated from the following file:
Generated at Wed Jan 30 2013 17:13:52 for Gaudi Framework, version v23r6 by Doxygen version 1.8.2 written by Dimitri van Heesch, © 1997-2004