(and-or-self-expansion? ast)
(arg-vecs-of-ast ast)
(arg-vecs-of-fn-raw-form fn-raw-form)
(assert-false-expansion? ast)
(ast-of-condition-test kind fn-ast method-num condition-idx condition-form)
(better-loc cur-loc maybe-better-loc-in-meta-of-this-obj)
(binding-form-info x loc)
(cond-self-expansion? ast)
(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.
(constant-expr-logical-false? expr)
(constant-expr-logical-true? expr)
(constant-expr? expr)
(constant-map? ast)
(constant-test {:keys [asts]} opt)
(constant-vector-or-set? ast)
(default-case-at-end-of-cond? ast)
(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.
(duplicate-local-names symbols)
(duplicate-params {:keys [asts]} opt)
(flatten-also-colls x)
(flattenable? x)
(fn-ast-with-pre-post ast)
(fn-form-with-pre-post form ast)
(get-do-body-from-fn-or-with-meta-ast fn-or-with-meta-ast method-num)
(if-with-predictable-test ast)
(keyword-typos {:keys [asts source]} opt)
(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.
(levenshtein s1 s2)
(local-name-info x loc)
(local-name-with-loc x loc)
(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.
(map-binding-form-info x loc)
(map-binding-value-for-keys-syms-strs v pred loc)
(my-ident? x)
(my-local-name? x)
(my-qualified-keyword? x)
(my-simple-symbol? x)
(one-map-binding-form-info [k v] loc)
(predicate-forms subexpr-maps form-type)
(pure-fn-ast? ast)
(raw-form-of-interest? raw-form core-macros-that-do-little)
(safe-first x)
(seq-binding-form-info x loc top-level-arg-vector?)
(suspicious-expression & args)
(suspicious-fn-calls {:keys [asts]} opt)
(suspicious-is-forms is-formasts)
(suspicious-is-try-expr {:keys [asts]} opt)
(suspicious-macro-invocations {:keys [asts]} opt)
(suspicious-test {:keys [asts]} opt)
(symbol-or-kw-to-local-name x)
(transform-ns-keyword kw)
(wrong-pre-post {:keys [asts]} opt)
(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