parameters: (self)
docstring: Writes HTML output.
docstring_summary: Writes HTML output.
docstring_tokens: Writes HTML output .
function: def Write(self):
      """Writes HTML output."""
  
      print 'Writing HTML to %s...' % self.output_root
  
      # Loop through the tree and write subdirs, breadth-first
      # TODO: switch to depth-first and sort values - makes nicer output?
      todo = [self.cov.tree]
      while todo:
        cov_dir = todo.pop(0)
  
        # Append subdirs to todo list
        todo += cov_dir.subdirs.values()
  
        # Write this subdir
        self.WriteSubdir(cov_dir)
  
        # Write files in this subdir
        for cov_file in cov_dir.files.itervalues():
          self.WriteFile(cov_file)
  
      # Write files in root directory
      self.WriteRoot()
function_tokens: def Write ( self ) : print 'Writing HTML to %s...' % self . output_root # Loop through the tree and write subdirs, breadth-first # TODO: switch to depth-first and sort values - makes nicer output? todo = [ self . cov . tree ] while todo : cov_dir = todo . pop ( 0 ) # Append subdirs to todo list todo += cov_dir . subdirs . values ( ) # Write this subdir self . WriteSubdir ( cov_dir ) # Write files in this subdir for cov_file in cov_dir . files . itervalues ( ) : self . WriteFile ( cov_file ) # Write files in root directory self . WriteRoot ( )