third_party/blink/tools/blinkpy/web_tests/merge_results.py
def merge(self, objs, name=""):
        """Generic merge function.

        name is a string representing the current key value separated by
        semicolons. For example, if file.json had the following;

            {'key1': {'key2': 3}}

        Then the name of the value 3 is 'file.json:key1:key2'
        """
        objs = [o for o in objs if o is not None]

        if not objs:
            return None

        MergeFailure.assert_type_eq(name, objs)

        # Try the merge helpers.
        for match_func, merge_func in reversed(self.helpers):
            for obj in objs:
                if match_func(obj, name):
                    return merge_func(objs, name=name)

        return self.fallback_matcher(objs, name=name)
Generic merge function.

        name is a string representing the current key value separated by
        semicolons. For example, if file.json had the following;

            {'key1': {'key2': 3}}

        Then the name of the value 3 is 'file.json:key1:key2'
        
Generic merge function.
name is a string representing the current key value separated by
semicolons. For example, if file.json had the following.



Then the name of the value 3 is 'file.json:key1:key2'
Generic merge function . name is a string representing the current key value separated by semicolons . For example if file . json had the following . Then the name of the value 3 is ' file . json : key1 : key2 '
def merge(self, objs, name=""):
        objs = [o for o in objs if o is not None]
        if not objs:
            return None
        MergeFailure.assert_type_eq(name, objs)
        for match_func, merge_func in reversed(self.helpers):
            for obj in objs:
                if match_func(obj, name):
                    return merge_func(objs, name=name)
        return self.fallback_matcher(objs, name=name)
def merge ( self , objs , name = "" ) : objs = [ o for o in objs if o is not None ] if not objs : return None MergeFailure . assert_type_eq ( name , objs ) for match_func , merge_func in reversed ( self . helpers ) : for obj in objs : if match_func ( obj , name ) : return merge_func ( objs , name = name ) return self . fallback_matcher ( objs , name = name )
Generic merge function.
Generic merge function .
"""Generic merge function.

        name is a string representing the current key value separated by
        semicolons. For example, if file.json had the following;

            {'key1': {'key2': 3}}

        Then the name of the value 3 is 'file.json:key1:key2'
        """ # Try the merge helpers.
self
objs
name