(all-ns-with-prefixes prefixes {:keys [excluding-ns]})
Return all loaded namespaces that start with prefixes
but
excluding excluding-ns
.
Return all loaded namespaces that start with `prefixes` but excluding `excluding-ns`.
(eval-form-error-data _ ex)
(expanded-defn-parse ns-name expanded-defn-form)
Given a ns-name
and a expanded-defn-form
(macroexpanded) returns
[fn-name-symbol fn-body].
Given a `ns-name` and a `expanded-defn-form` (macroexpanded) returns [fn-name-symbol fn-body].
(instrument-and-eval-form ns form config)
(instrument-and-eval-form ns form config retrying?)
Instrument form
and evaluates it under ns
.
Instrument `form` and evaluates it under `ns`.
(instrument-files-for-namespaces prefixes config)
Instrument and evaluates all forms of all loaded namespaces matching
the prefixes
set.
Instrument and evaluates all forms of all loaded namespaces matching the `prefixes` set.
(interesting-files-for-namespaces ns-set)
Given a set of namespaces ns-set
return a set of all files
used to load them.
Given a set of namespaces `ns-set` return a set of all files used to load them.
(read-file-ns-decl file)
Attempts to read a (ns ...) declaration from file
and returns the unevaluated form.
Returns nil if ns declaration cannot be found.
read-opts
is passed through to tools.reader/read.
Attempts to read a (ns ...) declaration from `file` and returns the unevaluated form. Returns nil if ns declaration cannot be found. `read-opts` is passed through to tools.reader/read.
(uninteresting-form? ns form)
Predicate to check if a form
is interesting to instrument.
Predicate to check if a `form` is interesting to instrument.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close