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

Type QuotedString

   object --+        
            |        
ParserElement --+    
                |    
            Token --+
                    |
                   QuotedString


Token for matching strings that are delimited by quoting characters.
Method Summary
  __init__(self, quoteChar, escChar, escQuote, multiline, unquoteResults)
Defined with the following parameters:
  __str__(self)
  parseImpl(self, instring, loc, doActions)
Inherited from Token: setName
Inherited from ParserElement: __add__, __and__, __invert__, __or__, __radd__, __rand__, __repr__, __ror__, __rxor__, __xor__, checkRecursion, copy, ignore, leaveWhitespace, parse, parseFile, parseString, parseWithTabs, postParse, preParse, scanString, searchString, 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
Inherited from ParserElement: DEFAULT_WHITE_CHARS

Instance Method Details

__init__(self, quoteChar, escChar=None, escQuote=None, multiline=False, unquoteResults=True)
(Constructor)

Defined with the following parameters:
  • quoteCharacter - string of one or more characters defining the quote delimiting string
  • escapeCharacter - character to escape quotes, typically backslash (default=None)
  • escapedQuote - special quote sequence to escape an embedded quote string (such as SQL's "" to escape and embedded ") (default=None)
  • multiline - boolean indicating whether quotes can span multiple lines (default=False)
  • unquoteResults - boolean indicating whether the matched text should be unquoted (default=True)
Overrides:
pyparsing.Token.__init__

Generated by Epydoc 2.1 on Sun Feb 05 12:07:46 2006 http://epydoc.sf.net