Next: , Previous: , Up: Base classes   [Index]


1.112 Metaclass

Defined in namespace Smalltalk
Superclass: ClassDescription
Category: Language-Implementation

I am the root of the class hierarchy. My instances are metaclasses, one for each real class. My instances have a single instance, which they hold onto, which is the class that they are the metaclass of. I provide methods for creation of actual class objects from metaclass object, and the creation of metaclass objects, which are my instances. If this is confusing to you, it should be...the Smalltalk metaclass system is strange and complex.