(vl-jp-description-locations x &key (ps 'ps)) → ps
Function:
(defun vl-jp-description-locations-fn (x ps) (declare (xargs :stobjs (ps))) (declare (xargs :guard (vl-descriptionlist-p x))) (let ((__function__ 'vl-jp-description-locations)) (declare (ignorable __function__)) (b* (((when (atom x)) ps) (name (or (vl-description->origname (car x)) (raise "Shouldn't have nameless descriptions here but got ~x0" (car x)) "")) (loc (vl-description->minloc (car x)))) (vl-ps-seq (vl-indent 1) (jp-str name) (vl-print ":") (jp-str (vl-location-string loc)) (if (atom (cdr x)) ps (vl-println ", ")) (vl-jp-description-locations (cdr x))))))