MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / get_inheritance_tree

Method get_inheritance_tree

tools/system_libs.py:665–669  ·  view source on GitHub ↗

Return all the classes in the inheritance tree of the current class.

(cls)

Source from the content-addressed store, hash-verified

663
664 @classmethod
665 def get_inheritance_tree(cls):
666 """Return all the classes in the inheritance tree of the current class."""
667 yield cls
668 for subclass in cls.__subclasses__():
669 yield from subclass.get_inheritance_tree()
670
671 @classmethod
672 def get_all_variations(cls):

Callers 2

get_all_variationsMethod · 0.80
get_usable_variationsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected