third_party/blink/tools/blinkpy/style/filter.py
def _filter_from_path(self, path):
        """Return the CategoryFilter associated to a path."""
        if path not in self._path_to_filter:
            path_rules = self._path_rules_from_path(path)
            filter = self._filter_from_path_rules(path_rules)
            self._path_to_filter[path] = filter

        return self._path_to_filter[path]
Return the CategoryFilter associated to a path.
Return the CategoryFilter associated to a path.
Return the CategoryFilter associated to a path .
def _filter_from_path(self, path):
        if path not in self._path_to_filter:
            path_rules = self._path_rules_from_path(path)
            filter = self._filter_from_path_rules(path_rules)
            self._path_to_filter[path] = filter
        return self._path_to_filter[path]
def _filter_from_path ( self , path ) : if path not in self . _path_to_filter : path_rules = self . _path_rules_from_path ( path ) filter = self . _filter_from_path_rules ( path_rules ) self . _path_to_filter [ path ] = filter return self . _path_to_filter [ path ]
Return the CategoryFilter associated to a path.
Return the CategoryFilter associated to a path .
"""Return the CategoryFilter associated to a path."""
self
path