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