| Allegro CL version 10.1 New since the initial 10.1 release. |
Arguments: metaclass superclasses name direct-slots
Returns a normalized list of slots as part of the macro-expansion of
a defclass form. A method
specialized on a defclass-embellisher class-metaobject (see
the defclass-embellisher-class
) can take the
opportunity to push extra forms to the resultant macro-expansion. It
is expected that call-next-method be used to implement the
lower-level functionality of normalizing the slots.
(method normalize-direct-slots (t t t t))
A catch-all method: the direct-slots argument is processed and normalized for return.
(method normalize-direct-slots (symbol t t t))
If the
metaclass argument
is nil
then
the direct-slots argument is processed and
normalized for return, as with the catch-all method above; otherwise,
find-class is used to look
up the class (which must be defined at the time of the lookup) and
normalize-direct-slots is
recursed on with that class metaobject.
The example in Metaclasses for embellishing class definitions in implementation.htm has an example of this method being used.
Copyright (c) 1998-2022, Franz Inc. Lafayette, CA., USA. All rights reserved.
This page is new in the 10.1 release.
Created 2019.8.20.
| Allegro CL version 10.1 New since the initial 10.1 release. |