Liking cljdoc? Tell your friends :D

eastwood.linters.typos


and-or-self-expansion?clj

(and-or-self-expansion? ast)

arg-vecs-of-astclj

(arg-vecs-of-ast ast)

arg-vecs-of-fn-raw-formclj

(arg-vecs-of-fn-raw-form fn-raw-form)

assert-false-expansion?clj

(assert-false-expansion? ast)

ast-of-condition-testclj

(ast-of-condition-test kind fn-ast method-num condition-idx condition-form)

better-locclj

(better-loc cur-loc maybe-better-loc-in-meta-of-this-obj)

binding-form-infoclj

(binding-form-info x loc)

cond-self-expansion?clj

(cond-self-expansion? ast)

constant-astclj

(constant-ast ast)

Return nil if 'ast' is not one that we can determine to be a constant value. Does not do all compile-time evaluation that would be possible, to keep things relatively simple. If we can determine it to be a constant value, return an ast that can be used to issue a warning, that contains the constant value.

Return nil if 'ast' is not one that we can determine to be a
constant value.  Does not do all compile-time evaluation that would be
possible, to keep things relatively simple.  If we can determine it to
be a constant value, return an ast that can be used to issue a
warning, that contains the constant value.
raw docstring

constant-expr-logical-false?clj

(constant-expr-logical-false? expr)

constant-expr-logical-true?clj

(constant-expr-logical-true? expr)

constant-expr?clj

(constant-expr? expr)

constant-map?clj

(constant-map? ast)

constant-testclj

(constant-test {:keys [asts]} opt)

constant-vector-or-set?clj

(constant-vector-or-set? ast)

core-fns-that-do-littleclj


core-macros-that-do-littleclj


debug-keywords-foundclj


default-case-at-end-of-cond?clj

(default-case-at-end-of-cond? ast)

dont-warn-for-symbol?clj

(dont-warn-for-symbol? sym)

Return logical true for symbols in arg vectors that should never be warned about as duplicates.

By convention, _ is a parameter intended to be ignored, and often occurs multiple times in the same arg vector when it is used. Also do not warn about any other symbols that begin with _. This gives Eastwood users a way to selectively disable such warnings if they wish.

Return logical true for symbols in arg vectors that should never be
warned about as duplicates.

By convention, _ is a parameter intended to be ignored, and often
occurs multiple times in the same arg vector when it is used.  Also do
not warn about any other symbols that begin with _.  This gives
Eastwood users a way to selectively disable such warnings if they
wish.
raw docstring

duplicate-local-namesclj

(duplicate-local-names symbols)

duplicate-paramsclj

(duplicate-params {:keys [asts]} opt)

flatten-also-collsclj

(flatten-also-colls x)

flattenable?clj

(flattenable? x)

fn-ast-with-pre-postclj

(fn-ast-with-pre-post ast)

fn-form-with-pre-postclj

(fn-form-with-pre-post form ast)

get-do-body-from-fn-or-with-meta-astclj

(get-do-body-from-fn-or-with-meta-ast fn-or-with-meta-ast method-num)

if-with-predictable-testclj

(if-with-predictable-test ast)

keyword-typosclj

(keyword-typos {:keys [asts source]} opt)

keywords-very-similar?clj

(keywords-very-similar? name-str1 name-str2)

Check for the special case of two names differing only by one of them being equal to "_" followed by the other name. Apparently this is somewhat common for keywords names when interacting with Datomic.

Check for the special case of two names differing only by one of
them being equal to "_" followed by the other name.  Apparently
this is somewhat common for keywords names when interacting with
Datomic.
raw docstring

levenshteinclj

(levenshtein s1 s2)

local-name-infoclj

(local-name-info x loc)

local-name-with-locclj

(local-name-with-loc x loc)

logical-true-testclj

(logical-true-test ast)

Return the ast to report a warning for, if the 'ast' argument represents not necessarily a constant expression, but definitely an expression that evaluates as logical true in an if test, e.g. vectors, maps, and sets, even if they have contents that vary at run time, are always logical true. Otherwise, return nil.

Return the ast to report a warning for, if the 'ast' argument
represents not necessarily a constant expression, but definitely an
expression that evaluates as logical true in an if test, e.g. vectors,
maps, and sets, even if they have contents that vary at run time, are
always logical true.  Otherwise, return nil.
raw docstring

map-binding-form-infoclj

(map-binding-form-info x loc)

map-binding-value-for-keys-syms-strsclj

(map-binding-value-for-keys-syms-strs v pred loc)

my-ident?clj

(my-ident? x)

my-local-name?clj

(my-local-name? x)

my-qualified-keyword?clj

(my-qualified-keyword? x)

my-simple-symbol?clj

(my-simple-symbol? x)

non-matching-infoclj


one-map-binding-form-infoclj

(one-map-binding-form-info [k v] loc)

predicate-formsclj

(predicate-forms subexpr-maps form-type)

pure-fn-ast?clj

(pure-fn-ast? ast)

raw-form-of-interest?clj

(raw-form-of-interest? raw-form core-macros-that-do-little)

safe-firstclj

(safe-first x)

seq-binding-form-infoclj

(seq-binding-form-info x loc top-level-arg-vector?)

suspicious-expressionclj

(suspicious-expression & args)

suspicious-fn-callsclj

(suspicious-fn-calls {:keys [asts]} opt)

suspicious-is-formsclj

(suspicious-is-forms is-formasts)

suspicious-is-try-exprclj

(suspicious-is-try-expr {:keys [asts]} opt)

suspicious-macro-invocationsclj

(suspicious-macro-invocations {:keys [asts]} opt)

suspicious-testclj

(suspicious-test {:keys [asts]} opt)

symbol-or-kw-to-local-nameclj

(symbol-or-kw-to-local-name x)

transform-ns-keywordclj

(transform-ns-keyword kw)

var-info-map-delayedclj


wrong-pre-postclj

(wrong-pre-post {:keys [asts]} opt)

wrong-pre-post-messagesclj

(wrong-pre-post-messages kind
                         conditions
                         method-num
                         ast
                         condition-desc-begin
                         condition-desc-middle)

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

× close