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