(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))
(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'.
(unused-ret-val-lint-result stmt stmt-desc-str action fn-or-method location)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close