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