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))
sourceraw docstring

debug-unknown-fn-methodsclj

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

let-ast-from-loop-expansionclj

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

macros-invokedclj

(macros-invoked asts)
source

make-invoke-val-unused-action-mapclj

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

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

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

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'.
sourceraw docstring

namespace-forclj

(namespace-for klass)
source

op-descclj

(op-desc op)
source

protocols-usedclj

(protocols-used asts)
source

required-namespacesclj

(required-namespaces ns-asts)
source

symbols-from-bindingsclj

(symbols-from-bindings expr)
source

unused-exprs-to-checkclj

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

unused-fn-argsclj

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

unused-localsclj

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

unused-locals*clj

(unused-locals* expr)
source

unused-meta-on-macroclj

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

unused-namespacesclj

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

unused-private-varsclj

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

unused-ret-val-lint-resultclj

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

unused-ret-valsclj

(unused-ret-vals & args)
source

unused-ret-vals*clj

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

unused-ret-vals-2clj

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

unused-ret-vals-in-tryclj

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

warning-unused-invoke-delayedclj

source

warning-unused-static-delayedclj

source

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

× close