Go to the first, previous, next, last section, table of contents.


Class StructureDefinition

Class StructureDefinition instances hold the information defining a particular type of user-defined structure.

Class StructureDefinition adds the following properties to those of Class Plain:

$S.compiler              Parallel to function$s.compiler
$S.source                Parallel to function$s.source
$S.fileName             Parallel to function$s.fileName
$S.fnLine               Parallel to function$s.fnLine
$S.slotCount            Count of slots in structure.
$S.include               Parent structure-definition or nil.
$S.assertion             Type verification compiledFunction.
$S.predicate             Type check compiled-funciton.
$S.printFunction        Print function.
$S.concName             Prefix for accessor functions.
$S.constructor           Constructor compiledFunction.
$S.copier                Copier compiledFunction.
$S.type                  'vector 'list or nil
$S.named                 t or nil
$S.initialOffset        whole number
$S.export                NIL unless defstruct included :export t option.
$S.createdAnInstance   NIL unless an instances has been created.

Note: For convenience, the $S properties are also available in the public (default) propdir.

Note: Proper support for the CommonLisp meta-class protocol, when it is finalized, may require changes to this class.


Go to the first, previous, next, last section, table of contents.