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