Package: closer-mop
Generic Function compute-class-precedence-list
Lambda List
compute-class-precedence-list (root)
Arguments
Return Value
The value returned by this generic function is a list of class metaobjects.
Details
This generic-function is called to determine the class precedence list
of a class.
The result is a list which contains each of class and its superclasses once and only once. The first element of the list is class and the last element is the class named t.
All methods on this generic function must compute the class precedence list as a function of the ordered direct superclasses of the superclasses of class. The results are undefined if the rules used to compute the class precedence list depend on any other factors.
When a class is finalized, finalize-inheritance calls this generic function and associates the returned value with the class metaobject. The value can then be accessed by calling class-precedence-list.
The list returned by this generic function will not be mutated by the implementation. The results are undefined if a portable program mutates the list returned by this generic function.
The result is a list which contains each of class and its superclasses once and only once. The first element of the list is class and the last element is the class named t.
All methods on this generic function must compute the class precedence list as a function of the ordered direct superclasses of the superclasses of class. The results are undefined if the rules used to compute the class precedence list depend on any other factors.
When a class is finalized, finalize-inheritance calls this generic function and associates the returned value with the class metaobject. The value can then be accessed by calling class-precedence-list.
The list returned by this generic function will not be mutated by the implementation. The results are undefined if a portable program mutates the list returned by this generic function.
Methods
compute-class-precedence-list (class class)
This method computes the class precedence list according to the rules
described in the section of the CLOS Specification called "Determining
the Class Precedence List".
This method signals an error if class or any of its superclasses is a forward referenced class.
This method can be overridden.
This method signals an error if class or any of its superclasses is a forward referenced class.
This method can be overridden.