The following functions accept a structure name
as the only argument.
If DEFSTRUCT
was given the :TYPE
option (i.e., DEFSTRUCT
did
not define a new type), then (
fails (and the regular CLOS Meta-Object Protocol is not applicable), but these
functions still work.FIND-CLASS
name
)
EXT:STRUCTURE-SLOTS
LIST
of effective slot definition metaobjects.
EXT:STRUCTURE-DIRECT-SLOTS
LIST
of direct slot definition metaobjects.
EXT:STRUCTURE-KEYWORD-CONSTRUCTOR
SYMBOL
) of the keyword
constructor function for the structure, or NIL
if the structure has
no keyword constructor.EXT:STRUCTURE-BOA-CONSTRUCTORS
LIST
of names (SYMBOL
s)
of BOA constructors for the structure.EXT:STRUCTURE-COPIER
SYMBOL
) of the copier for the
structure.EXT:STRUCTURE-PREDICATE
SYMBOL
) of the predicate for
the structure.These notes document CLISP version 2.49 | Last modified: 2010-07-07 |