superclasses-of ( class -- supers )
Factor handbook » The language » Objects » Classes

Prev:superclass-of ( class -- super )
Next:subclass-of? ( class superclass -- ? )


Vocabulary
classes

Inputs
classa class


Outputs
supersa sequence


Word description
Outputs a sequence of superclasses of a class along with the class itself.

Examples
USING: classes prettyprint ; t superclasses-of .
{ word t }


See also
superclass-of, subclass-of?

Definition