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