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