Logo Search packages:      
Sourcecode: bauble version File versions

bauble::utils::pyparsing::Keyword Class Reference

Inheritance diagram for bauble::utils::pyparsing::Keyword:

bauble::utils::pyparsing::Token bauble::utils::pyparsing::ParserElement

List of all members.

Detailed Description

Token to exactly match a specified string as a keyword, that is, it must be
   immediately followed by a non-keyword character.  Compare with Literal::
     Literal("if") will match the leading 'if' in 'ifAndOnlyIf'.
     Keyword("if") will not; it will only match the leading 'if in 'if x=1', or 'if(y==2)'
   Accepts two optional constructor arguments in addition to the keyword string:
   identChars is a string of characters that would be valid identifier characters,
   defaulting to all alphanumerics + "_" and "$"; caseless allows case-insensitive
   matching, default is False.

Definition at line 1493 of file pyparsing.py.

Public Member Functions

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

Public Attributes


Static Public Attributes

string DEFAULT_WHITE_CHARS = " \n\t\r"
tuple enablePackrat = staticmethod(enablePackrat)
tuple resetCache = staticmethod(resetCache)
tuple setDefaultKeywordChars = staticmethod(setDefaultKeywordChars)
tuple setDefaultWhitespaceChars = staticmethod(setDefaultWhitespaceChars)

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

Generated by  Doxygen 1.6.0   Back to index