Lines Matching refs:modules
582 self.modules = []
628 self.modules.append((module_ident, properties))
763 self.modules = []
813 return (parser.modules, parser.vars)
818 modules, sub_env = self._read_file(path, env)
820 modules = [(ident, attrs.eval(env)) for ident, attrs in modules]
821 self.modules += modules
908 def _build_named_modules_dict(modules): argument
911 for i, (ident, attrs) in enumerate(modules):
918 def _po_sorted_modules(modules, named_modules): argument
920 modules = [(ident, attrs, i) for i, (ident, attrs) in enumerate(modules)]
924 for ident, attrs, module_id in modules:
939 post_order.append(modules[module_id])
941 for module_id in range(len(modules)):
960 def evaluate_defaults(modules): argument
962 named_modules = _build_named_modules_dict(modules)
963 for ident, attrs, i in _po_sorted_modules(modules, named_modules):
966 modules[i] = (ident, attrs)
967 return modules
970 def fill_module_namespaces(root_bp, modules): argument
977 for ident, attrs in modules:
991 for ident, attrs in modules:
995 return modules