This namespace started as a fork of cider.instrument 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.
This namespace started as a fork of cider.instrument 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.
(definstrumenter & args)
Defines a private function for instrumenting forms.
This is like defn-
, except the metadata of the return value is
merged with that of the first input argument.
Defines a private function for instrumenting forms. This is like `defn-`, except the metadata of the return value is merged with that of the first input argument.
Set of special-forms that we don't wrap breakpoints around.
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 wrap breakpoints around. These are either forms that don't do anything interesting (like `quote`) or forms that just can't be wrapped (like `catch` and `finally`).
(expanded-def-form? form)
(expanded-defn-form? form)
(expanded-form-type form ctx)
(instrument {:keys [env] :as config} form)
Recursively instrument a form for tracing.
Recursively instrument a form for tracing.
(lazy-seq-form? form)
(macroexpand-all macroexpand-1-fn form & [original-key])
Like clojure.walk/macroexpand-all
, but preserves and macroexpands
metadata. Also store the original form (unexpanded and stripped of
metadata) in the metadata of the expanded form under original-key.
Like `clojure.walk/macroexpand-all`, but preserves and macroexpands metadata. Also store the original form (unexpanded and stripped of metadata) in the metadata of the expanded form under original-key.
(parse-defn-expansion defn-expanded-form)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close