Common Lisp Package: CL-ANNOT.UTIL

README:

FUNCTION

Public

CLASS-OPTIONS (CLASS-DEFINITION-FORM)

Return class-options of CLASS-DEFINITION-FORM.

DEFINITION-FORM-SYMBOL (DEFINITION-FORM)

Return the symbol of DEFINITION-FORM.

DEFINITION-FORM-TYPE (DEFINITION-FORM)

Return the type of DEFINITION-FORM.

GET-CLASS-OPTION (NAME CLASS-DEFINITION-FORM)

Return a value of NAME class-option of CLASS-DEFINITION-FORM.

MACROEXPAND-SOME (FORM)

Expand FORM once. The result form won't be nil.

MACROEXPAND-UNTIL-NORMAL-FORM (FORM)

Expand FORM until it brecomes normal-form.

MACROP (SYMBOL)

Return non-nil if SYMBOL is a macro.

PLIST-GET-ALL (PLIST PROP)

Return all values in PLIST named PROP.

PLIST-MEMBER (PLIST PROP)

Return t if PLIST contains PROP as a property.

PROGN-FORM-LAST (PROGN-FORM)

Return the last form of PROGN-FORM which should evaluated at last. If macro forms seen, the macro forms will be expanded using MACROEXPAND-UNTIL-NORMAL-FORM.

PROGN-FORM-REPLACE-LAST (LAST PROGN-FORM)

Replace the last form of PROGN-FORM with LAST. If LAST is a function, the function will be called with the last form and used for replacing. If macro forms seen, the macro forms will be expanded using MACROEXPAND-UNTIL-NORMAL-FORM.

REPLACE-FUNCTION-BODY (FUNCTION FUNCTION-DEFINITION-FORM)

Replace the body of FUNCTION-DEFINITION-FORM by calling FUNCTION with name, lambda-list and the body as arguments.

REPLACE-SLOT-SPECIFIERS (FUNCTION CLASS-DEFINITION-FORM)

Replace slot-specifiers of CLASS-DEFINITION-FORM with FUNCTION. The result value will be a class definition form also.

SLOT-SPECIFIERS (CLASS-DEFINITION-FORM)

Return class-specifiers of CLASS-DEFINITION-FORM.