Liking cljdoc? Tell your friends :D

cider.inlined-deps.orchard.v0v3v3.orchard.inspect

Clojure data structure inspection functionality. This code has a long history and at various points of time it lived in different projects. Originally it was part of swank-clojure, afterwards it was moved to javert, then forked to another project from which it was contributed to cider-nrepl. Finally cider-nrepl was split into two libraries and the code ended up here.

Pretty wild, right?

Clojure data structure inspection functionality.
This code has a long history and at various points of
time it lived in different projects. Originally
it was part of swank-clojure, afterwards it was moved to
javert, then forked to another project from which it
was contributed to cider-nrepl. Finally cider-nrepl
was split into two libraries and the code ended up here.

Pretty wild, right?
raw docstring

clearclj

(clear inspector)

Clear an inspector's state.

Clear an inspector's state.
sourceraw docstring

downclj

(down inspector idx)

Drill down to an indexed object referred to by the previously rendered value.

Drill down to an indexed object referred to by the previously
rendered value.
sourceraw docstring

freshclj

(fresh)

Return an empty inspector.

Return an empty inspector.
sourceraw docstring

inspectcljmultimethod

source

inspect-printclj

(inspect-print x)
source

inspect-print-componentcljmultimethod

source

inspect-renderclj

(inspect-render inspector)
(inspect-render inspector value)
source

inspect-valuecljmultimethod

source

inspector-value-stringclj

source

known-typesclj

(known-types ins obj)
source

next-pageclj

(next-page inspector)

Jump to the next page when inspecting a paginated sequence/map. Does nothing if already on the last page.

Jump to the next page when inspecting a paginated sequence/map. Does nothing
if already on the last page.
sourceraw docstring

ns-refers-by-nsclj

(ns-refers-by-ns ns)
source

pop-item-from-pathclj

(pop-item-from-path path)

Takes the current inspector path, and returns an updated path one level up.

Takes the current inspector path, and returns an updated path one level up.
sourceraw docstring

prev-pageclj

(prev-page inspector)

Jump to the previous page when inspecting a paginated sequence/map. Does nothing if already on the first page.

Jump to the previous page when inspecting a paginated sequence/map. Does
nothing if already on the first page.
sourceraw docstring

push-item-to-pathclj

(push-item-to-path index idx path current-page page-size)

Takes the current inspector index, the idx of the value in it to be navigated to, and the path so far, and returns the updated path to the selected value.

Takes the current inspector index, the `idx` of the value in it to be navigated
to, and the path so far, and returns the updated path to the selected value.
sourceraw docstring

renderclj

(render inspector & values)
source

render-collection-pagedclj

(render-collection-paged inspector obj)

Render a single page of either an indexed or associative collection.

Render a single page of either an indexed or associative collection.
sourceraw docstring

render-indexed-valuesclj

(render-indexed-values inspector obj)
(render-indexed-values inspector obj idx-starts-from)
source

render-labeled-valueclj

(render-labeled-value inspector label value)
source

render-lnclj

(render-ln inspector & values)
source

render-map-valuesclj

(render-map-values inspector mappable)
source

render-meta-informationclj

(render-meta-information inspector obj)
source

render-ontoclj

(render-onto inspector coll)
source

render-pathclj

(render-path inspector)
source

render-referenceclj

(render-reference inspector)
source

render-valueclj

(render-value inspector value)
source

safe-pr-seqclj

(safe-pr-seq value fmt)
source

set-page-sizeclj

(set-page-size inspector new-page-size)

Set the page size in pagination mode to the specified value. Current page will be reset to zero.

Set the page size in pagination mode to the specified value. Current page
will be reset to zero.
sourceraw docstring

startclj

(start inspector value)

Put a new value onto the inspector stack.

Put a new value onto the inspector stack.
sourceraw docstring

upclj

(up inspector)

Pop the stack and re-render an earlier value.

Pop the stack and re-render an earlier value.
sourceraw docstring

value-typesclj

(value-types value)
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close