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