(all-namespaces ns-strs {:keys [excluding-ns prefixes?]})
Return all loaded namespaces that match with ns-strs
but
excluding excluding-ns
. If prefixes?
is true, ns-strs
will be used as prefixes, else a exact match will be required.
Return all loaded namespaces that match with `ns-strs` but excluding `excluding-ns`. If `prefixes?` is true, `ns-strs` will be used as prefixes, else a exact match will be required.
(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 ns-strs {:keys [prefixes?] :as config})
Instrument and evaluates all forms of all loaded namespaces matching
ns-strs
.
If prefixes?
is true, ns-strs
will be used as prefixes, else a exact match will be required.
Instrument and evaluates all forms of all loaded namespaces matching `ns-strs`. If `prefixes?` is true, `ns-strs` will be used as prefixes, else a exact match will be required.
(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