Print the JSON encoding of a vl-fundecl-p to ps.
(vl-jp-fundecl x &key (ps 'ps)) → ps
Function:
(defun vl-jp-fundecl-fn (x ps) (declare (xargs :stobjs (ps))) (declare (xargs :guard (vl-fundecl-p x))) (let ((__function__ 'vl-jp-fundecl)) (declare (ignorable __function__)) (vl-ps-seq (vl-print "{\"tag\": ") (jp-sym ':vl-fundecl) (vl-print ", ") (vl-print-str "\"name\": ") (jp-str (vl-fundecl->name x)) (vl-println? ", ") (vl-print-str "\"lifetime\": ") (vl-jp-lifetime (vl-fundecl->lifetime x)) (vl-println? ", ") (vl-print-str "\"rettype\": ") (vl-jp-datatype (vl-fundecl->rettype x)) (vl-println? ", ") (vl-print-str "\"portdecls\": ") (vl-jp-portdecllist (vl-fundecl->portdecls x)) (vl-println? ", ") (vl-print-str "\"imports\": ") (vl-jp-importlist (vl-fundecl->imports x)) (vl-println? ", ") (vl-print-str "\"vardecls\": ") (vl-jp-vardecllist (vl-fundecl->vardecls x)) (vl-println? ", ") (vl-print-str "\"paramdecls\": ") (vl-jp-paramdecllist (vl-fundecl->paramdecls x)) (vl-println? ", ") (vl-print-str "\"body\": ") (vl-jp-stmt (vl-fundecl->body x)) (vl-println? ", ") (vl-print-str "\"atts\": ") (vl-jp-atts (vl-fundecl->atts x)) (vl-println? ", ") (vl-print-str "\"loc\": ") (vl-jp-location (vl-fundecl->loc x)) (vl-println? "}"))))