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