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