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