10. Introspection
Introspection permits a programmer to peek at the contents of a class
without any previous knowledge of that class. While EIEIO implements
objects on top of vectors, and thus everything is technically visible,
some functions have been provided. None of these functions are a part
of CLOS.
- Function: object-slots obj
- Return the list of public slots for obj.
- Function: class-slot-initarg class slot
- For the given class return the :initarg associated with
slot. Not all slots have initargs, so the return value can be
nil.
This document was generated
by XEmacs Webmaster on October, 2 2007
using texi2html