Liking cljdoc? Tell your friends :D

eastwood.linters.typos


and-or-self-expansion?clj

(and-or-self-expansion? ast)
source

arg-vecs-of-astclj

(arg-vecs-of-ast ast)
source

arg-vecs-of-fn-raw-formclj

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

assert-false-expansion?clj

(assert-false-expansion? ast)
source

ast-of-condition-testclj

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

better-locclj

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

binding-form-infoclj

(binding-form-info x loc)
source

cond-self-expansion?clj

(cond-self-expansion? ast)
source

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.
sourceraw docstring

constant-expr-logical-false?clj

(constant-expr-logical-false? expr)
source

constant-expr-logical-true?clj

(constant-expr-logical-true? expr)
source

constant-expr?clj

(constant-expr? expr)
source

constant-map?clj

(constant-map? ast)
source

constant-testclj

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

constant-vector-or-set?clj

(constant-vector-or-set? ast)
source

core-fns-that-do-littleclj

source

core-macros-that-do-littleclj

source

debug-keywords-foundclj

source

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

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

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.
sourceraw docstring

duplicate-local-namesclj

(duplicate-local-names symbols)
source

duplicate-paramsclj

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

flatten-also-collsclj

(flatten-also-colls x)
source

flattenable?clj

(flattenable? x)
source

fn-ast-with-pre-postclj

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

fn-form-with-pre-postclj

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

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)
source

if-with-predictable-testclj

(if-with-predictable-test ast)
source

keyword-typosclj

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

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.
sourceraw docstring

levenshteinclj

(levenshtein s1 s2)
source

local-name-infoclj

(local-name-info x loc)
source

local-name-with-locclj

(local-name-with-loc x loc)
source

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.
sourceraw docstring

map-binding-form-infoclj

(map-binding-form-info x loc)
source

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

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

my-ident?clj

(my-ident? x)
source

my-local-name?clj

(my-local-name? x)
source

my-qualified-keyword?clj

(my-qualified-keyword? x)
source

my-simple-symbol?clj

(my-simple-symbol? x)
source

non-matching-infoclj

source

one-map-binding-form-infoclj

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

predicate-formsclj

(predicate-forms subexpr-maps form-type)
source

pure-fn-ast?clj

(pure-fn-ast? ast)
source

raw-form-of-interest?clj

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

safe-firstclj

(safe-first x)
source

seq-binding-form-infoclj

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

suspicious-expressionclj

(suspicious-expression & args)
source

suspicious-fn-callsclj

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

suspicious-is-formsclj

(suspicious-is-forms is-formasts)
source

suspicious-is-try-exprclj

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

suspicious-macro-invocationsclj

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

suspicious-testclj

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

symbol-or-kw-to-local-nameclj

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

transform-ns-keywordclj

(transform-ns-keyword kw)
source

var-info-map-delayedclj

source

wrong-pre-postclj

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

wrong-pre-post-messagesclj

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

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

× close