parameters: (self, other)
docstring: Merges other with this one.  They must share a filename.
  
      This function is intended to be used when we see two iwyu records
      in the input, both for the same file.  We can merge the two together.
      We are conservative: we union the lines to add, and intersect the
      lines to delete.
  
      Arguments:
        other: an IWYUOutputRecord to merge into this one.
          It must have the same value for filename that self does.
docstring_summary: Merges other with this one.  They must share a filename.
docstring_tokens: Merges other with this one . They must share a filename .
function: def Merge(self, other):
      """Merges other with this one.  They must share a filename.
  
      This function is intended to be used when we see two iwyu records
      in the input, both for the same file.  We can merge the two together.
      We are conservative: we union the lines to add, and intersect the
      lines to delete.
  
      Arguments:
        other: an IWYUOutputRecord to merge into this one.
          It must have the same value for filename that self does.
      """
      assert self.filename == other.filename, "Can't merge distinct files"
      self.lines_to_delete.intersection_update(other.lines_to_delete)
      self.some_include_lines.update(other.some_include_lines)
      self.seen_forward_declare_lines.update(other.seen_forward_declare_lines)
      self.nested_forward_declare_lines.update(other.nested_forward_declare_lines)
      self.includes_and_forward_declares_to_add.update(
          other.includes_and_forward_declares_to_add)
      self.full_include_lines.update(other.full_include_lines)
function_tokens: def Merge ( self , other ) : assert self . filename == other . filename , "Can't merge distinct files" self . lines_to_delete . intersection_update ( other . lines_to_delete ) self . some_include_lines . update ( other . some_include_lines ) self . seen_forward_declare_lines . update ( other . seen_forward_declare_lines ) self . nested_forward_declare_lines . update ( other . nested_forward_declare_lines ) self . includes_and_forward_declares_to_add . update ( other . includes_and_forward_declares_to_add ) self . full_include_lines . update ( other . full_include_lines )