Liking cljdoc? Tell your friends :D

sayid.nrepl-middleware

The nREPL wire protocol. wrap-sayid registers Sayid's nREPL ops - trace management, queries, and the data ops that hand the recorded call tree to editor clients as plain data (see doc/nrepl-api.md) - by collecting the ^:nrepl-tagged vars in this namespace.

The nREPL wire protocol.  `wrap-sayid` registers Sayid's nREPL ops - trace
management, queries, and the data ops that hand the recorded call tree to editor
clients as plain data (see doc/nrepl-api.md) - by collecting the `^:nrepl`-tagged
vars in this namespace.
raw docstring

*value-print-length*clj

*print-length* applied when serializing captured values in the data ops, so a fat or infinite value produces a bounded string instead of hanging the serializer. nil means unbounded.

`*print-length*` applied when serializing captured values in the data ops, so
a fat or infinite value produces a bounded string instead of hanging the
serializer.  nil means unbounded.
sourceraw docstring

*value-print-level*clj

*print-level* applied when serializing captured values in the data ops.

`*print-level*` applied when serializing captured values in the data ops.
sourceraw docstring

audit->dataclj

(audit->data audit)

Serialize a traced-fns AUDIT (from trace/audit-traces) to bencode data: a list of namespace groups, each with the traced fns in it. Merges the fns traced by namespace and the ones traced individually.

Serialize a traced-fns AUDIT (from `trace/audit-traces`) to bencode data: a
list of namespace groups, each with the traced fns in it.  Merges the fns
traced by namespace and the ones traced individually.
sourceraw docstring

clj->nreplclj

(clj->nrepl frm)
source

fn-trace-actionsclj

Maps a trace `action' string to the workspace function that applies it to a qualified function symbol.

Maps a trace `action' string to the workspace function that applies it to a
qualified function symbol.
sourceraw docstring

node->dataclj

(node->data node)

Serialize one recorded call-tree NODE into a bencode-friendly map. Structural fields stay native (strings, ints, nested maps and lists) so a client can navigate them directly; the arbitrary captured values - args, arg-map and the return (or throw) - are pr-str'd, since they can't round-trip as data. See doc/nrepl-api.md for the documented shape.

Serialize one recorded call-tree NODE into a bencode-friendly map.  Structural
fields stay native (strings, ints, nested maps and lists) so a client can
navigate them directly; the arbitrary captured values - args, arg-map and the
return (or throw) - are `pr-str`'d, since they can't round-trip as data.  See
doc/nrepl-api.md for the documented shape.
sourceraw docstring

sayid-all-tracesclj

(sayid-all-traces {:keys [action] :as msg})

Apply trace ACTION (enable/disable/remove) to every trace at once.

Apply trace ACTION (enable/disable/remove) to every trace at once.
sourceraw docstring

sayid-clear-logclj

(sayid-clear-log {:keys [transport] :as msg})
source

sayid-def-valueclj

(sayid-def-value {:keys [transport trace-id path] :as msg})
source

sayid-find-all-ns-rootsclj

(sayid-find-all-ns-roots {:keys [transport] :as msg})
source

sayid-gen-instance-exprclj

(sayid-gen-instance-expr {:keys [transport trace-id] :as msg})
source

sayid-get-enabled-trace-countclj

(sayid-get-enabled-trace-count {:keys [transport] :as msg})
source

sayid-get-meta-at-pointclj

(sayid-get-meta-at-point {:keys [transport source file line] :as msg})
source

sayid-get-trace-countclj

(sayid-get-trace-count {:keys [transport] :as msg})
source

sayid-get-viewsclj

(sayid-get-views {:keys [transport source file line] :as msg})
source

sayid-get-workspaceclj

(sayid-get-workspace msg)
source

sayid-get-workspace-dataclj

(sayid-get-workspace-data msg)

Return the recorded call tree as data - a list of root call nodes, each a map whose children are more such nodes - for clients that render it themselves. The rendered counterpart is sayid-get-workspace; see doc/nrepl-api.md for the shape.

Return the recorded call tree as data - a list of root call nodes, each a map
whose `children` are more such nodes - for clients that render it themselves.
The rendered counterpart is `sayid-get-workspace`; see doc/nrepl-api.md for the
shape.
sourceraw docstring

sayid-nrepl-opsclj

source

sayid-pprint-valueclj

(sayid-pprint-value {:keys [transport trace-id path] :as msg})
source

sayid-queryclj

(sayid-query {:keys [query] :as msg})
source

sayid-query-by-fnclj

(sayid-query-by-fn {:keys [fn-name mod] :as msg})
source

sayid-query-by-fn-dataclj

(sayid-query-by-fn-data {:keys [fn-name mod] :as msg})

Data counterpart of sayid-query-by-fn.

Data counterpart of `sayid-query-by-fn`.
sourceraw docstring

sayid-query-by-idclj

(sayid-query-by-id {:keys [trace-id mod] :as msg})
source

sayid-query-by-id-dataclj

(sayid-query-by-id-data {:keys [trace-id mod] :as msg})

Data counterpart of sayid-query-by-id.

Data counterpart of `sayid-query-by-id`.
sourceraw docstring

sayid-query-dataclj

(sayid-query-data {:keys [query] :as msg})

Data counterpart of sayid-query: run QUERY and return the matched calls as node data. See doc/nrepl-api.md.

Data counterpart of `sayid-query`: run QUERY and return the matched calls as
node data.  See doc/nrepl-api.md.
sourceraw docstring

sayid-query-form-at-pointclj

(sayid-query-form-at-point {:keys [file line] :as msg})
source

sayid-reset-workspaceclj

(sayid-reset-workspace {:keys [transport] :as msg})
source

sayid-set-viewclj

(sayid-set-view {:keys [transport view-name] :as msg})
source

sayid-show-tracedclj

(sayid-show-traced {:keys [ns] :as msg})
source

sayid-show-traced-dataclj

(sayid-show-traced-data {:keys [ns] :as msg})

Return what Sayid has traced as data - a list of namespace groups, each with its traced functions - for clients that render it themselves. With a non-empty NS, restrict to that namespace. The rendered counterpart is sayid-show-traced.

Return what Sayid has traced as data - a list of namespace groups, each with
its traced functions - for clients that render it themselves.  With a non-empty
NS, restrict to that namespace.  The rendered counterpart is `sayid-show-traced`.
sourceraw docstring

sayid-toggle-viewclj

(sayid-toggle-view {:keys [transport] :as msg})
source

sayid-trace-all-ns-in-dirclj

(sayid-trace-all-ns-in-dir {:keys [transport dir] :as msg})
source

sayid-trace-fnclj

(sayid-trace-fn {:keys [action fn-name fn-ns] :as msg})

Apply trace ACTION to the function named by MSG's fn-ns/fn-name.

Apply trace ACTION to the function named by MSG's fn-ns/fn-name.
sourceraw docstring

sayid-trace-fn-at-pointclj

(sayid-trace-fn-at-point {:keys [action file line column source] :as msg})

Apply trace ACTION to the function whose symbol sits at the cursor position described by MSG (file/line/column/source). Replies with the resolved symbol, or nil when nothing resolves there.

Apply trace ACTION to the function whose symbol sits at the cursor position
described by MSG (file/line/column/source).  Replies with the resolved symbol,
or nil when nothing resolves there.
sourceraw docstring

sayid-trace-nsclj

(sayid-trace-ns {:keys [action ns] :as msg})

Apply trace ACTION (enable/disable/remove) to the namespace named by MSG's ns.

Apply trace ACTION (enable/disable/remove) to the namespace named by MSG's ns.
sourceraw docstring

sayid-trace-ns-by-patternclj

(sayid-trace-ns-by-pattern {:keys [transport ns-pattern ref-ns] :as msg})
source

sayid-trace-ns-in-fileclj

(sayid-trace-ns-in-file {:keys [transport file] :as msg})
source

sayid-versionclj

(sayid-version msg)
source

selected-viewclj

source

viewsclj

source

wrap-sayidclj

(wrap-sayid handler)
source

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close