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