Basic constructor macro for objdesign-member structures.
(make-objdesign-member [:super <super>] [:name <name>])
This is the usual way to construct objdesign-member structures. It simply conses together a structure with the specified fields.
This macro generates a new objdesign-member structure from scratch. See also change-objdesign-member, which can "change" an existing structure, instead.
This is an ordinary
Macro:
(defmacro make-objdesign-member (&rest args) (std::make-aggregate 'objdesign-member args '((:super) (:name)) 'make-objdesign-member nil))
Function:
(defun objdesign-member (super name) (declare (xargs :guard (and (objdesignp super) (identp name)))) (declare (xargs :guard t)) (let ((__function__ 'objdesign-member)) (declare (ignorable __function__)) (b* ((super (mbe :logic (objdesign-fix super) :exec super)) (name (mbe :logic (ident-fix name) :exec name))) (cons :member (list super name)))))