parameters: (self)
return_statement: return __tmp
docstring: Get the document tree from a parser context.
docstring_summary: Get the document tree from a parser context.
docstring_tokens: Get the document tree from a parser context .
function: def doc(self):
          """Get the document tree from a parser context. """
          ret = libxml2mod.xmlParserGetDoc(self._o)
          if ret is None:raise parserError('xmlParserGetDoc() failed')
          __tmp = xmlDoc(_obj=ret)
          return __tmp
function_tokens: def doc ( self ) : ret = libxml2mod . xmlParserGetDoc ( self . _o ) if ret is None : raise parserError ( 'xmlParserGetDoc() failed' ) __tmp = xmlDoc ( _obj = ret ) return __tmp