Liking cljdoc? Tell your friends :D

eastwood.linters.unused


all-suffixesclj

(all-suffixes coll)

Given a coll, returns the coll, then (next coll), then (next (next coll)), etc., as long as the result is not empty.

Example: (all-suffixes [1 2 3]) => ([1 2 3] (2 3) (3))

Given a coll, returns the coll, then (next coll), then (next (next
coll)), etc., as long as the result is not empty.

Example: (all-suffixes [1 2 3])
         => ([1 2 3] (2 3) (3))
raw docstring

debug-unknown-fn-methodsclj

(debug-unknown-fn-methods fn-or-method stmt-desc-str stmt)

let-ast-from-loop-expansionclj

(let-ast-from-loop-expansion ast)

macros-invokedclj

(macros-invoked asts)

make-invoke-val-unused-action-mapclj

(make-invoke-val-unused-action-map rsrc-name)

make-static-method-val-unused-action-mapclj

(make-static-method-val-unused-action-map rsrc-name)

mark-things-in-defprotocol-expansionclj

(mark-things-in-defprotocol-expansion ast)

Return an ast that is identical to the argument, except that expressions that appear to have been generated via 'defprotocol' will have their 4th subexpression ast node marked specially with the key :eastwood/defprotocol-expansion-sigs with the name of the protocol. There does not seem to be an easier way to avoid printing out :unused-ret-vals warning messages of the form 'Constant value is discarded inside null: null'.

Return an ast that is identical to the argument, except that
expressions that appear to have been generated via 'defprotocol' will
have their 4th subexpression ast node marked specially with the
key :eastwood/defprotocol-expansion-sigs with the name of the
protocol.  There does not seem to be an easier way to avoid printing
out :unused-ret-vals warning messages of the form 'Constant value is
discarded inside null: null'.
raw docstring

namespace-forclj

(namespace-for klass)

op-descclj

(op-desc op)

protocols-usedclj

(protocols-used asts)

required-namespacesclj

(required-namespaces ns-asts)

symbols-from-bindingsclj

(symbols-from-bindings expr)

unused-exprs-to-checkclj

(unused-exprs-to-check ast-node)

unused-fn-argsclj

(unused-fn-args {:keys [asts]} opt)

unused-localsclj

(unused-locals {:keys [asts]} opt)

unused-locals*clj

(unused-locals* expr)

unused-meta-on-macroclj

(unused-meta-on-macro {:keys [asts]} opt)

unused-namespacesclj

(unused-namespaces {:keys [asts]} opt)

unused-private-varsclj

(unused-private-vars {:keys [asts]} opt)

unused-ret-val-lint-resultclj

(unused-ret-val-lint-result stmt stmt-desc-str action fn-or-method location)

unused-ret-valsclj

(unused-ret-vals & args)

unused-ret-vals*clj

(unused-ret-vals* location {:keys [asts] :as m} opt)

unused-ret-vals-2clj

(unused-ret-vals-2 location {:keys [asts]} opt)

unused-ret-vals-in-tryclj

(unused-ret-vals-in-try & args)

warning-unused-invoke-delayedclj


warning-unused-static-delayedclj

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

× close