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