(cljs-devtools-tracer & {:keys [color] :as options})
(condition-map-and-body fn-body)
Given a function body, return a vetor of the condition map and the function body.
Given a function body, return a vetor of the condition map and the function body.
(condition-map? x)
Returns true if x is a condition map, false otherwise.
Returns true if x is a condition map, false otherwise.
(-trace-enter this trace-data)
(-trace-error this trace-data)
(-trace-exit this trace-data)
(munge-arglist arglist)
Given an argument list create a new one with generated symbols.
Given an argument list create a new one with generated symbols.
(normalize-arglist arglist)
Removes variation from an argument list.
Removes variation from an argument list.
(resolve-sym sym env)
Attempt to return a fully resolved symbol from sym.
Attempt to return a fully resolved symbol from sym.
(trace-bindings bindings & [quote-init?])
Return a trace form for bindings (e.g. [x 0 y 1 ...]).
Return a trace form for bindings (e.g. [x 0 y 1 ...]).
(trace-body form trace-data)
(trace-body form trace-data trace-only?)
(trace-body form trace-data trace-only? bindings-override)
Given a form and trace data, return the form for a trace life cycle.
Given a form and trace data, return the form for a trace life cycle.
(trace-defmethod [op multifn dispatch-val & [arglist & body] :as form])
(trace-defn [op & body :as form])
(trace-enter tracer trace-data)
Call the -trace-enter method for a given tracer with trace-data. tracer must satisfy ITraceEnter.
Call the -trace-enter method for a given tracer with trace-data. tracer must satisfy ITraceEnter.
(trace-error tracer trace-data)
Call the -trace-error method for a given tracer with trace-data. tracer must satisfy ITraceError.
Call the -trace-error method for a given tracer with trace-data. tracer must satisfy ITraceError.
(trace-exit tracer trace-data)
Call the -trace-exit method for a given tracer with trace-data. tracer must satisfy ITraceExit.
Call the -trace-exit method for a given tracer with trace-data. tracer must satisfy ITraceExit.
(trace-fn form)
(trace-fn-spec arglist body trace-data)
Return the trace form for a single form.
Return the trace form for a single form.
(trace-forms {:keys [tracer enabled? exclude] :as opts} & forms)
Recursively trace one or more forms.
:tracer - custom tracer.
:enabled? - boolean, override devmode flags and force tracing on/off.
:exclude - set of op symbols to exclude from tracing, e.g. #{'fn 'fn*}. Also
supports the :unnamed-fn
keyword.
:bindings - a vector of dynamic bindings to wrap a trace function in.
Recursively trace one or more forms. :tracer - custom tracer. :enabled? - boolean, override devmode flags and force tracing on/off. :exclude - set of op symbols to exclude from tracing, e.g. #{'fn 'fn*}. Also supports the `:unnamed-fn` keyword. :bindings - a vector of dynamic bindings to wrap a trace function in.
(trace-let [op bindings & body :as form])
(trace-protocol-spec spec-form trace-data)
(trace-protocol-specs protocol-specs trace-data)
(variadic? arglist)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close