(self)
| 247 | # Creates a map of object names to Object instances |
| 248 | # Options are fully resolved from the library and object |
| 249 | def objects(self) -> Dict[str, Object]: |
| 250 | out = {} |
| 251 | for lib in self.libs or {}: |
| 252 | objects: List[Object] = lib["objects"] |
| 253 | for obj in objects: |
| 254 | if obj.name in out: |
| 255 | sys.exit(f"Duplicate object name {obj.name}") |
| 256 | out[obj.name] = obj.resolve(self, lib) |
| 257 | return out |
| 258 | |
| 259 | # Gets the output path for build-related files. |
| 260 | def out_path(self) -> Path: |
no test coverage detected