Print the JSON encoding of a vl-package-p to ps.
(vl-jp-package x &key (ps 'ps)) → ps
Function:
(defun vl-jp-package-fn (x ps) (declare (xargs :stobjs (ps))) (declare (xargs :guard (vl-package-p x))) (let ((__function__ 'vl-jp-package)) (declare (ignorable __function__)) (vl-ps-seq (vl-print "{\"tag\": ") (jp-sym ':vl-package) (vl-print ", ") (vl-print-str "\"name\": ") (jp-str (vl-package->name x)) (vl-println? ", ") (vl-print-str "\"minloc\": ") (vl-jp-location (vl-package->minloc x)) (vl-println? ", ") (vl-print-str "\"maxloc\": ") (vl-jp-location (vl-package->maxloc x)) (vl-println? ", ") (vl-print-str "\"paramdecls\": ") (vl-jp-paramdecllist (vl-package->paramdecls x)) (vl-println? ", ") (vl-print-str "\"typedefs\": ") (vl-jp-typedeflist (vl-package->typedefs x)) (vl-println? ", ") (vl-print-str "\"comments\": ") (vl-jp-commentmap (vl-package->comments x)) (vl-println? ", ") (vl-print-str "\"warnings\": ") (vl-jp-warninglist (vl-package->warnings x)) (vl-println? ", ") (vl-print-str "\"imports\": ") (vl-jp-importlist (vl-package->imports x)) (vl-println? ", ") (vl-print-str "\"fundecls\": ") (vl-jp-fundecllist (vl-package->fundecls x)) (vl-println? ", ") (vl-print-str "\"taskdecls\": ") (vl-jp-taskdecllist (vl-package->taskdecls x)) (vl-println? ", ") (vl-print-str "\"vardecls\": ") (vl-jp-vardecllist (vl-package->vardecls x)) (vl-println? ", ") (vl-print-str "\"lifetime\": ") (vl-jp-lifetime (vl-package->lifetime x)) (vl-println? ", ") (vl-print-str "\"dpiimports\": ") (vl-jp-dpiimportlist (vl-package->dpiimports x)) (vl-println? ", ") (vl-print-str "\"dpiexports\": ") (vl-jp-dpiexportlist (vl-package->dpiexports x)) (vl-println? ", ") (vl-print-str "\"classes\": ") (vl-jp-classlist (vl-package->classes x)) (vl-println? ", ") (vl-print-str "\"atts\": ") (vl-jp-atts (vl-package->atts x)) (vl-println? "}"))))