(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))
(debug-unknown-fn-methods fn-or-method stmt-desc-str stmt)
(let-ast-from-loop-expansion ast)
(macros-invoked asts)
(make-invoke-val-unused-action-map rsrc-name)
(make-static-method-val-unused-action-map rsrc-name)
(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'.
(namespace-for klass)
(op-desc op)
(protocols-used asts)
(required-namespaces ns-asts)
(symbols-from-bindings expr)
(unused-exprs-to-check ast-node)
(unused-fn-args {:keys [asts]} opt)
(unused-locals {:keys [asts]} opt)
(unused-locals* expr)
(unused-meta-on-macro {:keys [asts]} opt)
(unused-namespaces {:keys [asts]} opt)
(unused-private-vars {:keys [asts]} opt)
(unused-ret-val-lint-result stmt stmt-desc-str action fn-or-method location)
(unused-ret-vals & args)
(unused-ret-vals* location {:keys [asts] :as m} opt)
(unused-ret-vals-2 location {:keys [asts]} opt)
(unused-ret-vals-in-try & args)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close