Liking cljdoc? Tell your friends :D

lambdaisland.cloverage.instrument


*exclude-calls*clj

The set of symbols that will suppress instrumentation when any are used in the calling position of a form. Useful for excluding problematic macro call sites from coverage metrics.

The set of symbols that will suppress instrumentation when any are used in
the calling position of a form. Useful for excluding problematic macro call
sites from coverage metrics.
sourceraw docstring

add-originalclj

(add-original old new)
source

atomic-special?clj

(atomic-special? sym)
source

do-wrapcljmultimethod

Traverse the given form and wrap all its sub-forms in a function that evals the form and records that it was called.

Traverse the given form and wrap all its sub-forms in a function that evals
the form and records that it was called.
sourceraw docstring

exclude?clj

(exclude? form)
source

form-typeclj

(form-type form env)

Classifies the given form

Classifies the given form
sourceraw docstring

instrumentclj

(instrument f-var lib)

Instruments and evaluates a list of forms.

Instruments and evaluates a list of forms.
sourceraw docstring

iobj?clj

(iobj? form)
source

list-typeclj

(list-type head)
source

list-type-in-envclj

(list-type-in-env [head & _] env)
source

no-instrclj

(no-instr line-hint form)

Do not change form at all.

Do not change form at all.
sourceraw docstring

nopclj

(nop line-hint form)

Instrument form with expressions that do nothing.

Instrument form with expressions that do nothing.
sourceraw docstring

propagate-line-numbersclj

(propagate-line-numbers start form)

Assign :line metadata to all possible elements in a form, using start as default.

Assign :line metadata to all possible elements in a form,
using start as default.
sourceraw docstring

wrapclj

(wrap f-var line-hint form)

Main interface for wrapping expressions using f. Wrap will return a form that during macroexpansion calls f on form and all sub-expressions of form that can be meaningfully wrapped. f should take an expression and return one that evaluates in exactly the same way, possibly with additional side effects.

Main interface for wrapping expressions using `f`.
Wrap will return a form that during macroexpansion calls `f` on `form` and
all sub-expressions of `form` that can be meaningfully wrapped.
`f` should take an expression and return one that evaluates in exactly the
same way, possibly with additional side effects.
sourceraw docstring

wrap-bindingclj

(wrap-binding f line-hint [args & body :as form])

Wrap a let/loop binding

e.g. - a (+ a b) (let or loop)

Wrap a let/loop binding

e.g. - `a (+ a b)`       (let or loop)
sourceraw docstring

wrap-catchclj

(wrap-catch f line [catch-symbol classname localname & body])
source

wrap-deftype-defrecord-methodclj

(wrap-deftype-defrecord-method f line [meth-name args & body :as method-form])
source

wrap-finallyclj

(wrap-finally f line [finally-symbol & body])
source

wrap-fn-bodyclj

(wrap-fn-body f line form)
source

wrap-overloadclj

(wrap-overload f line-hint [args & body :as form])

Wrap a single function overload.

e.g. - ([a b] (+ a b)) or ([n] {:pre [(> n 0)]} (/ 1 n))

Wrap a single function overload.

e.g. - ([a b] (+ a b)) or
        ([n] {:pre [(> n 0)]} (/ 1 n))
sourceraw docstring

wrap-overloadsclj

(wrap-overloads f line-hint form)
source

wrapmcljmacro

(wrapm f-sym line-hint form)

Helper macro for wrap. Takes advantage of &env to track lexical scope while walking form.

Helper macro for wrap.
Takes advantage of &env to track lexical scope while walking `form`.
sourceraw docstring

wrapperclj

(wrapper f line)

Return a function that when called, wraps f through its argument.

Return a function that when called, wraps f through its argument.
sourceraw docstring

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

× close