(all-namespaces ns-strs
{:keys [excluding-ns prefixes? get-all-ns-fn] :as config})
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)
(instrument-files-for-namespaces
ns-strs
{:keys [prefixes? files-for-ns-fn uninstrument?] :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.
Returns the set of instrumented fns.
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. Returns the set of instrumented fns.
(interesting-form? form _)
Predicate to check if a form
is interesting to instrument.
Predicate to check if a `form` is interesting to instrument.
(ns-vars-cljs ns-symb)
Return all vars for a ClojureScript ns
.
Return all vars for a ClojureScript `ns`.
(re-eval-file-forms ns-symb
file-url
{:keys [compiler uninstrument? file-forms-fn verbose?]
:as config})
Re evaluates all forms inside file-url
under namespace ns-symb
possibliy
instrumenting them depending on the value of uninstrument?
.
Returns a set of instrumented fns.
Re evaluates all forms inside `file-url` under namespace `ns-symb` possibliy instrumenting them depending on the value of `uninstrument?`. Returns a set of instrumented fns.
(re-eval-form ns-symb form config)
(re-eval-form ns-symb
form
{:keys [compiler uninstrument? eval-in-ns-fn] :as config}
retrying?)
Re evaluate form
under namespace ns-symb
, posibliy instrumenting it before when uninstrument?
is false,
in which case it returns the set of instrumented fns.
Re evaluate `form` under namespace `ns-symb`, posibliy instrumenting it before when `uninstrument?` is false, in which case it returns the set of instrumented fns.
(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.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close