eieio: Introspection
11 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 an :initarg associated with SLOT. Not
all slots have initargs, so the return value can be ‘nil’.