Liking cljdoc? Tell your friends :D

eastwood.linters.typetags


default-classname-mappingclj

source

fq-classname-to-classclj

(fq-classname-to-class cname-str)
source

has-wrong-tag?clj

(has-wrong-tag? ast)
source

keys-indicating-wrong-tagclj

source

ok-return-tagsclj

source

replace-variable-tag-partclj

(replace-variable-tag-part tag)

Wrong tags that were written like (def ^long foo ...) convert to strings like clojure.core$long@deadbeef, where the deadbeef part is an hex string that changes from one run to the next. It is usually 8 digits long in my experience, but does not print leading 0s so can be shorter.

Replace these strings with @<somehex>, simply to make them consistent from one run to the next, thus easier to check for in unit tests, and producing fewer lines of output in 'diff' from one Eastwood run to the next. I doubt the exact value of the hex digits has any lasting significance needed by the user.

Wrong tags that were written like (def ^long foo ...) convert to
strings like clojure.core$long@deadbeef, where the deadbeef part is an
hex string that changes from one run to the next.  It is usually 8
digits long in my experience, but does not print leading 0s so can be
shorter.

Replace these strings with @<somehex>, simply to make them consistent
from one run to the next, thus easier to check for in unit tests, and
producing fewer lines of output in 'diff' from one Eastwood run to the
next.  I doubt the exact value of the hex digits has any lasting
significance needed by the user.
sourceraw docstring

wrong-tagclj

(wrong-tag & args)
source

wrong-tag-clj-1232clj

(wrong-tag-clj-1232 {:keys [asts]} opt)
source

wrong-tag-from-analyzerclj

(wrong-tag-from-analyzer {:keys [asts]} opt)
source

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

× close