parameters: (self)
docstring: Constructor.
docstring_summary: Constructor.
docstring_tokens: Constructor .
function: def __init__(self):
      """Constructor."""
      self.files = {}             # Map filename --> CoverageFile
      self.root_dirs = []         # (root, altname)
      self.rules = []             # (regexp, dict of RHS attrs)
      self.tree = CoveredDir('')
      self.print_stats = []       # Dicts of args to PrintStat()
  
      # Functions which need to be replaced for unit testing
      self.add_files_walk = os.walk         # Walk function for AddFiles()
      self.scan_file = croc_scan.ScanFile
function_tokens: def __init__ ( self ) : self . files = { } # Map filename --> CoverageFile self . root_dirs = [ ] # (root, altname) self . rules = [ ] # (regexp, dict of RHS attrs) self . tree = CoveredDir ( '' ) self . print_stats = [ ] # Dicts of args to PrintStat() # Functions which need to be replaced for unit testing self . add_files_walk = os . walk # Walk function for AddFiles() self . scan_file = croc_scan . ScanFile