All Manuals > LispWorks IDE User Guide > 7 The Class Browser

7.7 Examining class precedences

Click the Precedence tag to examine information about the precedence list of the current class. The precedence view shown in Displaying precedence information in the Class Browser appears.

The precedence list is used to generate the method combinations for a class, and thus can be used to tell you which method applies in a given case.

See 15 The Generic Function Browser for details on examining information about methods.

Displaying precedence information in the Class Browser

The areas available are described below.

7.7.1 Class box

As with all other views in the Class Browser, the current class is printed in this area. See 7.2.1 Class box for full details of its use.

7.7.2 Filter box

The Filter box lets you restrict the information displayed in the list of precedences. See 3.12 Filtering information for a description of how to use the Filter box in any tool, and 7.1.3 Filtering slot information for an example of how to use it in the Class Browser.

7.7.3 List of precedences

This list is the class precedence list of the current class. Precedences are listed highest first. Double-clicking on an item in this list describes that class in the Class Browser.

7.7.4 Description list

This gives the same class description available in the superclasses, subclasses, and hierarchy views. See 7.3.4 Description list for details.

7.7.5 Performing operations on the selected classes or the current class

You can operate on any number of selected items in the list of precedences using the commands in the Works > Classes menu. If no items are selected, then the current class is operated on by the commands in this submenu. The standard actions commands described in 3.8 Performing operations on selected objects are available in this submenu.

Choose Works > Classes > Browse Metaclass to select, and describe in the normal way, the class of the selected classes, or the current class.

Note: If more than one item is selected, and the command chosen from the Works > Classes menu invokes a tool which can only display one item at a time, then the extra items are added to the History > Items submenu of the tool, so that you can easily display them.


LispWorks IDE User Guide (Windows version) - 01 Dec 2021 19:37:53