Function | Package: system | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 version

## declaration-information

Arguments: symbol &optional env

This function returns information about declarations named by symbol in the environment specified by env. The null lexical environment is used when env is unspecified or `nil`.

declaration-information only returns declarations that are not usually associated with a variable or function namespace. If the name or value of a variable or function has been given a declaration, then that declaration will not be retrieved by declaration-information, it will instead be retrieved by the appropriate variable-information or function-information call, and will be returned as an element of the third value returned.

When symbol is `optimize`, declaration-information returns a list whose elements are of the form `(quality value)` -- i.e. (space 2) or (speed 3) -- where the quality is one of the optimization qualities `space`, `size`, `speed`, `compilation-speed`, and `debug`, and the value is 0, 1, 2, or 3. This list is the single value returned. This list must not be modified.

When symbol is `declaration`, declaration-information returns a list whose elements are declaration names that have been proclaimed valid through the use of `declaration` proclamations. This list is the single value returned. This list must not be modified.

Copyright (c) 1998-2019, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 8.2 page.
Created 2012.5.30.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 version