Maintains a tree of classes directed by inheritance. This object always
exists in HTML, since it is used for other things such as printing class bases.
Methods Details:
Adds an edge to the graph. Supername and subname are the scoped
names of the two classes involved in the edge, and are copied before
being stored.
Returns a sorted list of all classes derived from the given
class
Returns a sorted list of all classes the given class derives
from. The classes are returned as scoped names, which you may use to
lookup the class declarations in the 'types' dictionary if you need
to.
Returns a sorted list of all class names
Adds a class to the list of classes by name
Returns a list of classes that have no superclasses
Returns a list of graphs. Each graph is just a list of connected
classes.
Returns a list of leaves in the given graph. A leaf is a class with
no subclasses
Adds this class and all edges to the lists