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