Completion source for local bindings introduced by defn, let and the like.
Completion source for local bindings introduced by defn, let and the like.
(bindings-from-context ctx)
Returns all local bindings that are established inside the given context.
Returns all local bindings that are established inside the given context.
(candidates prefix _ context)
Returns a list of local bindings inside the context that match prefix.
Returns a list of local bindings inside the context that match prefix.
(extract-local-bindings form)
When given a form that has a binding vector traverses that binding vector and returns the list of all local bindings.
When given a form that has a binding vector traverses that binding vector and returns the list of all local bindings.
(parse-binding binding-node)
Given a binding node returns the list of local bindings introduced by that node. Handles vector and map destructuring.
Given a binding node returns the list of local bindings introduced by that node. Handles vector and map destructuring.
(parse-fn-body fn-body)
Extract function name and arglists from the function body, return list of all completable variables.
Extract function name and arglists from the function body, return list of all completable variables.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close