Exemple #1
0
 def get_filters(self,
                 search_global,
                 until_position=None,
                 origin_scope=None):
     yield MergedFilter(
         ParserTreeFilter(self.evaluator,
                          context=self,
                          until_position=until_position,
                          origin_scope=origin_scope),
         GlobalNameFilter(self, self.tree_node),
     )
     yield DictFilter(self._sub_modules_dict())
     yield DictFilter(self._module_attributes_dict())
     for star_module in self.star_imports():
         yield next(star_module.get_filters(search_global))