Function | Package: system | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 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-2022, Franz Inc. Lafayette, CA., USA. All rights reserved.
This page was not revised from the 10.0 page.
Created 2019.8.20.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version