Module pyparsing :: Class White
[frames | no frames]

Type White

   object --+        
ParserElement --+    
            Token --+

Special matching class for matching whitespace. Normally, whitespace is ignored by pyparsing grammars. This class is included when some whitespace structures are significant. Define with a string containing the whitespace characters to be matched; default is " \t\n". Also takes optional min, max, and exact arguments, as defined for the Word class.
Method Summary
  __init__(self, ws, min, max, exact)
  parseImpl(self, instring, loc, doActions)
Inherited from Token: setName
Inherited from ParserElement: __add__, __invert__, __or__, __radd__, __repr__, __ror__, __rxor__, __str__, __xor__, checkRecursion, copy, ignore, leaveWhitespace, parse, parseFile, parseString, parseWithTabs, postParse, preParse, scanString, setDebug, setDebugActions, setDefaultWhitespaceChars, setParseAction, setResultsName, setWhitespaceChars, skipIgnorables, streamline, suppress, transformString, tryParse, validate
Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__

Class Variable Summary
dict whiteStrs = {'\t': '<TAB>', ' ': '<SPC>', '\n': '<LF>', ...
Inherited from ParserElement: DEFAULT_WHITE_CHARS

Class Variable Details


{'\t': '<TAB>', ' ': '<SPC>', '\n': '<LF>', '\r': '<CR>', '\x0c': '<FF\

Generated by Epydoc 2.1 on Sun Jun 12 22:30:07 2005