Liking cljdoc? Tell your friends :D

hansel.instrument.forms

clj

This namespace started as a fork of cider-nrepl instrument middleware but departed a lot from it to make it work for clojurescript and to make it able to trace more stuff.

Provides utilities to recursively instrument forms for all our traces.

If you are interested in understanding this, there is a nice flow diagram here : /docs/form_instrumentation.pdf

This namespace started as a fork of cider-nrepl instrument middleware but
departed a lot from it to make it work for clojurescript and
to make it able to trace more stuff.

Provides utilities to recursively instrument forms for all our traces.

If you are interested in understanding this, there is
a nice flow diagram here : /docs/form_instrumentation.pdf 
raw docstring

clojure-script-basic-typeclj


instrumentclj

(instrument {:keys [env normalize-gensyms?] :as config} form)

Instrument a form for tracing. Returns a map with :inst-form and :init-forms.

Instrument a form for tracing.
Returns a map with :inst-form and :init-forms.
raw docstring

macroexpand-allclj


make-instrumented-fn-trackerclj

(make-instrumented-fn-tracker)

skip-instrument-formsclj

Set of special-forms that we don't want to wrap with instrumentation. These are either forms that don't do anything interesting (like quote) or forms that just can't be wrapped (like catch and finally).

Set of special-forms that we don't want to wrap with instrumentation.
These are either forms that don't do anything interesting (like
`quote`) or forms that just can't be wrapped (like `catch` and
`finally`).
raw docstring

special-symbol+?clj

(special-symbol+? symb)

Like clojure.core/special-symbol? but includes cljs specials

Like clojure.core/special-symbol? but includes cljs specials
raw docstring

track-fn!clj

(track-fn! {:keys [instrumented-fns]} fn-ns fn-name arity)

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

× close