;; accessor functions later.
((label :type keyword :initarg :label :reader ds-label)
(name :type string :initarg :name :reader ds-name)
- (kind :type (member type sign size qualifier)
+ (kind :type (member type complexity sign size qualifier)
:initarg :kind :reader ds-kind)
(taggedp :type boolean :initarg :taggedp
:initform nil :reader ds-taggedp))
(export '(effective-slot effective-slot-class
effective-slot-direct-slot effective-slot-initializer))
(defclass effective-slot ()
- ((%class :initarg :class :type sod-slot :reader effective-slot-class)
+ ((%class :initarg :class :type sod-class :reader effective-slot-class)
(slot :initarg :slot :type sod-slot :reader effective-slot-direct-slot)
(initializer :initarg :initializer :type (or sod-initializer null)
:reader effective-slot-initializer))
(effective-methods :type list :reader sod-class-effective-methods)
(vtables :type list :reader sod-class-vtables)
- (state :initform nil :type (member nil :finalized broken)
+ (state :initform nil :type (member nil :finalized :broken)
:reader sod-class-state))
(:documentation
"Classes describe the layout and behaviour of objects.
(export '(code-fragment-item code-fragment code-fragment-reason
code-fragment-name code-fragment-constraints))
(defclass code-fragment-item ()
- ((fragment :initarg :fragment :type c-fragment :reader code-fragment)
+ ((fragment :initarg :fragment :type (or string c-fragment)
+ :reader code-fragment)
(reason :initarg :reason :type keyword :reader code-fragment-reason)
(name :initarg :name :type t :reader code-fragment-name)
(constraints :initarg :constraints :type list
position-aware-stream-line position-aware-stream-column))
(defclass position-aware-stream (proxy-stream)
((file :initarg :file :initform nil
- :type pathname :accessor position-aware-stream-file)
+ :type (or pathname null) :accessor position-aware-stream-file)
(line :initarg :line :initform 1
:type fixnum :accessor position-aware-stream-line)
(column :initarg :column :initform 0