parameters: (compiled_archive_file_path,
                                    output_archive_source_mapping_file,
                                    translated_source_files,
                                    objc_file_path,
                                    file_open=open)
docstring: Writes a mapping file between archive file to associated ObjC source files.
  
    Args:
      compiled_archive_file_path: The path of the archive file.
      output_archive_source_mapping_file: A path of the mapping file to write to.
      translated_source_files: A comma-separated list of source files translated
          by J2ObjC.
      objc_file_path: The file path which represents a directory where the
          generated ObjC files reside.
      file_open: Reference to the builtin open function so it may be
          overridden for testing.
    Returns:
      None.
docstring_summary: Writes a mapping file between archive file to associated ObjC source files.
docstring_tokens: Writes a mapping file between archive file to associated ObjC source files .
function: def WriteArchiveSourceMappingFile(compiled_archive_file_path,
                                    output_archive_source_mapping_file,
                                    translated_source_files,
                                    objc_file_path,
                                    file_open=open):
    """Writes a mapping file between archive file to associated ObjC source files.
  
    Args:
      compiled_archive_file_path: The path of the archive file.
      output_archive_source_mapping_file: A path of the mapping file to write to.
      translated_source_files: A comma-separated list of source files translated
          by J2ObjC.
      objc_file_path: The file path which represents a directory where the
          generated ObjC files reside.
      file_open: Reference to the builtin open function so it may be
          overridden for testing.
    Returns:
      None.
    """
    with file_open(output_archive_source_mapping_file, 'w') as f:
      for translated_source_file in translated_source_files.split(','):
        file_path = os.path.relpath(translated_source_file, objc_file_path)
        f.write(compiled_archive_file_path + ':' + file_path + '\n')
function_tokens: def WriteArchiveSourceMappingFile ( compiled_archive_file_path , output_archive_source_mapping_file , translated_source_files , objc_file_path , file_open = open ) : with file_open ( output_archive_source_mapping_file , 'w' ) as f : for translated_source_file in translated_source_files . split ( ',' ) : file_path = os . path . relpath ( translated_source_file , objc_file_path ) f . write ( compiled_archive_file_path + ':' + file_path + '\n' )