MCPcopy Create free account
hub / github.com/bfbbdecomp/bfbb / objects

Method objects

tools/project.py:236–244  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

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:

Callers 1

generate_buildFunction · 0.80

Calls 1

resolveMethod · 0.80

Tested by

no test coverage detected