Page 215 Table of Contents Index Page 217
Chapters
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30
A, B, C, D, E



CHAPTER 23. PRESENTATION TYPES

nil (meaning that the description should be the singular form of the name), t (meaning that
the description should the plural form of the name), or an integer greater than zero (the number
of items to be described). The default is 1.

type can be a presentation type abbreviation.

=> presentation-type-parameters type-name &optional env [Function]
Returns a lambda-list, the parameters specified when the presentation type or presentation type
abbreviation whose name is type-name was defined. type-name is a symbol or a class. env is a
macro-expansion environment, as in find-class.

=> presentation-type-options type-name &optional env [Function]
Returns the list of options specified when the presentation type or presentation type abbreviation
whose name is type-name was defined. This does not include the standard options unless the
presentation-type definition mentioned them explicitly. type-name is a symbol or a class. env is
a macro-expansion environment, as in find-class.

=> with-presentation-type-decoded (name-var &optional parameters-var options-var) type &body
body [Macro]
The specified variables are bound to the components of the presentation type specifier produced
by evaluating type, the forms in body are executed, and the values of the last form are returned.
name-var, if non-nil, is bound to the presentation type name. parameters-var, if non-nil, is
bound to a list of the parameters. options-var, if non-nil, is bound to a list of the options.
When supplied, name-var, parameters-var, and options-var must be symbols.

The name-var, parameters-var, and options-var arguments are not evaluated. body may have
zero or more declarations as its first forms.

=> presentation-type-name type [Function]
Returns the presentation type name of the presentation type specifier type. This function is
provided as a convenience. It could be implemented with the following code:
 
 (defun presentation-type-name (type)
   (with-presentation-type-decoded (name) type
     name))
=> with-presentation-type-parameters (type-name type) &body body [Macro]
Variables with the same name as each parameter in the definition of the presentation type are
bound to the parameter values in type, if present, or else to the defaults specified in the definition
of the presentation type. The forms in body are executed in the scope of these variables and the
values of the last form are returned.

The value of the form type must be a presentation type specifier whose name is type-name. The
type-name and type arguments are not evaluated. body may have zero or more declarations as
its first forms.


Page 215 Table of Contents Index Page 217
Chapters
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30
A, B, C, D, E