Print the JSON encoding of a vl-location-p to ps.
(vl-jp-location x &key (ps 'ps)) → ps
Function:
(defun vl-jp-location-fn (x ps) (declare (xargs :stobjs (ps))) (declare (xargs :guard (vl-location-p x))) (let ((__function__ 'vl-jp-location)) (declare (ignorable __function__)) (vl-ps-seq (vl-print "{\"tag\": ") (jp-sym ':vl-location) (vl-print ", ") (vl-print-str "\"filename\": ") (jp-str (vl-location->filename x)) (vl-println? ", ") (vl-print-str "\"line\": ") (jp-nat (vl-location->line x)) (vl-println? ", ") (vl-print-str "\"col\": ") (jp-nat (vl-location->col x)) (vl-println? "}"))))