Searched refs:namespaces (Results 1 – 2 of 2) sorted by relevance
140 def _add_modules_from_parsed_pairs(self, parsed_items, namespaces): argument149 if namespace not in namespaces:176 def parse_root_bp(self, root_bp_path, namespaces=None): argument179 namespaces = {''} if namespaces is None else set(namespaces)186 self._add_modules_from_parsed_pairs(parsed_items, namespaces)190 def create_from_root_bp(cls, root_bp_path, namespaces=None): argument193 result.parse_root_bp(root_bp_path, namespaces)
980 namespaces = {rootdir}983 namespaces.add(os.path.dirname(attrs['_path']))986 namespaces = sorted(namespaces, reverse=True)988 '|'.join('(' + re.escape(x) + '/.*)' for x in namespaces))992 namespaces = [path[rootdir_prefix_len:] for path in namespaces]997 attrs['_namespace'] = namespaces[match.lastindex - 1]