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