class_docstr: Provide detailed trace information for one source file to coverage.py.
class_docstr_tok: ["Provide","detailed","trace","information","for","one","source","file","to","coverage.py","."]
docstr: Return the source code of the file as a string.
docstr_tok: ["Return","the","source","code","of","the","file","as","a","string","."]
code: def source(self):
      """
      Return the source code of the file as a string.
      """
      if os.path.exists(self._abs_filename):
          with open_source_file(self._abs_filename) as f:
              return f.read()
      else:
          return "\n".join(
              (tokens[0][1] if tokens else "")
              for tokens in self._iter_source_tokens()
          )
  
imports: from __future__ import absolute_import
  import re
  import os.path
  import sys
  from collections import defaultdict
  from coverage.plugin import CoveragePlugin, FileTracer, FileReporter
  from coverage.files import canonical_filename
  from .Utils import find_root_package_dir, is_package_dir, open_source_file
  from .None import __version__
label_desc: Use image node_id 4 for calling the CythonModuleReporter obj's underlying member method code with example usage: obj.source() and returns: str, f