ClassPackage: exclToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 10.1
New since the initial 10.1 release.

defclass-embellisher-class

This class metaobject is an abstract class that serves as the superclass of all defclass-embelisher metaobjects. defclass-embellisher classes are described in the section Metaclasses for embellishing class definitions in implementation.htm.

This class should not be instantiated itself, but may be subclassed by other class metaobjects intending to provide the embellishments on the macroexpanded result of a defclass form. If the defclass form uses one of this class's subclasses as its :metaclass argument, then provision will be made by defclass to add extra forms at the end of the macroexpanded code. That class metaobject's class-prototype will be instantiated once at macroexpand time, in order to provide discrimination for excl:normalize-direct-slots. Such a subclass must be finalized before it can be used as the :metaclass argument to defclass, because defclass will try to access the class's prototype, and it must be finalized in order for that to happen.

Two embellishers classes are defined in Allegro CL: excl:fixed-index-class and excl:fixed-index-filling-class. Examples in Metaclasses for embellishing class definitions in implementation.htm show how to defined additional embellisher subclasses.


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.

ToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 10.1
New since the initial 10.1 release.