nil
or one of the keywords :special
, :lexical
, :symbol-macro
and :constant
.
A boolean
An a-list
The function variable-information
returns information about how the variable symbol is bound in the environment env.
The value of kind will be as follows:
There is no information about variable in env
variable has a special binding in env
variable has a lexical binding in env
variable has a symbol-macro binding in env
variable has a constant binding in env
localp will be true if variable is bound by a form that has lexical scope (for example let
, lambda
) or false if variable has global scope (for example defvar
).
decls is an a-list of declarations that refer to variable. The cdr
of each pair is specified according to the car
of the pair as follows:
The cdr
is non-nil if variable is declared dynamic-extent
in env.
The cdr
is non-nil if variable is declared ignore
in env.
The cdr
is the type specifier that is declared for variable in env if any.
variable-information
is part of the environment access API which is based on that specified in
Common Lisp: the Language
(2nd Edition).
LispWorks User Guide and Reference Manual - 13 Feb 2015