parameters: (self, lines)
return_statement: return util.etree.ElementTree(self.root)
docstring: Parse a markdown document into an ElementTree.
  
          Given a list of lines, an ElementTree object (not just a parent
          Element) is created and the root element is passed to the parser
          as the parent. The ElementTree object is returned.
  
          This should only be called on an entire document, not pieces.
docstring_summary: Parse a markdown document into an ElementTree.
docstring_tokens: Parse a markdown document into an ElementTree .
function: def parseDocument(self, lines):
          """ Parse a markdown document into an ElementTree.
  
          Given a list of lines, an ElementTree object (not just a parent
          Element) is created and the root element is passed to the parser
          as the parent. The ElementTree object is returned.
  
          This should only be called on an entire document, not pieces.
  
          """
          # Create a ElementTree from the lines
          self.root = util.etree.Element(self.markdown.doc_tag)
          self.parseChunk(self.root, '\n'.join(lines))
          return util.etree.ElementTree(self.root)
function_tokens: def parseDocument ( self , lines ) : # Create a ElementTree from the lines self . root = util . etree . Element ( self . markdown . doc_tag ) self . parseChunk ( self . root , '\n' . join ( lines ) ) return util . etree . ElementTree ( self . root )