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