(self)
| 234 | # Creates a map of object names to Object instances |
| 235 | # Options are fully resolved from the library and object |
| 236 | def objects(self) -> Dict[str, Object]: |
| 237 | out = {} |
| 238 | for lib in self.libs or {}: |
| 239 | objects: List[Object] = lib["objects"] |
| 240 | for obj in objects: |
| 241 | if obj.name in out: |
| 242 | sys.exit(f"Duplicate object name {obj.name}") |
| 243 | out[obj.name] = obj.resolve(self, lib) |
| 244 | return out |
| 245 | |
| 246 | # Gets the output path for build-related files. |
| 247 | def out_path(self) -> Path: |
no test coverage detected