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