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