Liking cljdoc? Tell your friends :D

skeptic.analysis.calls


*user-fn-path-predicate-summaries*clj

Project-scoped registry {qualified-sym → {:pred kw [:class C] :path [kw ...]}} recognising user-defined fns whose body reduces to a built-in path-type-predicate on a destructured key of their first parameter. Bound by skeptic.checking.pipeline/check-ns from project-state; read by skeptic.analysis.origin/test->assumption so calls like (b-params? params) propagate as (vector?, [:k], _) narrowing on params.

Project-scoped registry `{qualified-sym → {:pred kw [:class C] :path [kw ...]}}`
recognising user-defined fns whose body reduces to a built-in path-type-predicate
on a destructured key of their first parameter. Bound by
`skeptic.checking.pipeline/check-ns` from project-state; read by
`skeptic.analysis.origin/test->assumption` so calls like `(b-params? params)`
propagate as `(vector?, [:k], _)` narrowing on `params`.
sourceraw docstring

assoc-call-symsclj

source

assoc-call?clj

(assoc-call? fn-node)

Inputs: [fn-node :- s/Any] Returns: s/Bool

Inputs: [fn-node :- s/Any]
Returns: s/Bool
sourceraw docstring

blank-call-symsclj

source

blank-call?clj

(blank-call? fn-node)

Inputs: [fn-node :- s/Any] Returns: s/Bool

Inputs: [fn-node :- s/Any]
Returns: s/Bool
sourceraw docstring

butlast-call-symsclj

source

butlast-call?clj

(butlast-call? fn-node)

Inputs: [fn-node :- s/Any] Returns: s/Bool

Inputs: [fn-node :- s/Any]
Returns: s/Bool
sourceraw docstring

call-infoclj

(call-info ctx fn-node args)

Inputs: [ctx :- s/Any fn-node :- s/Any args :- s/Any] Returns: s/Any

Inputs: [ctx :- s/Any fn-node :- s/Any args :- s/Any]
Returns: s/Any
sourceraw docstring

CallOptsclj

source

CallOptsArglistEntryclj

source

chunk-first-call-symsclj

source

chunk-first-call?clj

(chunk-first-call? fn-node)

Inputs: [fn-node :- s/Any] Returns: s/Bool

Inputs: [fn-node :- s/Any]
Returns: s/Bool
sourceraw docstring

concat-call-symsclj

source

concat-call?clj

(concat-call? fn-node)

Inputs: [fn-node :- s/Any] Returns: s/Bool

Inputs: [fn-node :- s/Any]
Returns: s/Bool
sourceraw docstring

contains-call-symsclj

source

contains-call?clj

(contains-call? fn-node)

Inputs: [fn-node :- s/Any] Returns: s/Bool

Inputs: [fn-node :- s/Any]
Returns: s/Bool
sourceraw docstring

default-call-infoclj

(default-call-info ctx arity output)

Inputs: [ctx :- s/Any arity :- s/Int output :- (s/maybe at/SemanticType)] Returns: s/Any

Inputs: [ctx :- s/Any arity :- s/Int output :- (s/maybe at/SemanticType)]
Returns: s/Any
sourceraw docstring

dissoc-call-symsclj

source

dissoc-call?clj

(dissoc-call? fn-node)

Inputs: [fn-node :- s/Any] Returns: s/Bool

Inputs: [fn-node :- s/Any]
Returns: s/Bool
sourceraw docstring

drop-call-symsclj

source

drop-call?clj

(drop-call? fn-node)

Inputs: [fn-node :- s/Any] Returns: s/Bool

Inputs: [fn-node :- s/Any]
Returns: s/Bool
sourceraw docstring

drop-last-call-symsclj

source

drop-last-call?clj

(drop-last-call? fn-node)

Inputs: [fn-node :- s/Any] Returns: s/Bool

Inputs: [fn-node :- s/Any]
Returns: s/Bool
sourceraw docstring

drop-while-call-symsclj

source

drop-while-call?clj

(drop-while-call? fn-node)

Inputs: [fn-node :- s/Any] Returns: s/Bool

Inputs: [fn-node :- s/Any]
Returns: s/Bool
sourceraw docstring

equality-call-symsclj

source

equality-call?clj

(equality-call? fn-node)

Inputs: [fn-node :- s/Any] Returns: s/Bool

Inputs: [fn-node :- s/Any]
Returns: s/Bool
sourceraw docstring

first-call-symsclj

source

first-call?clj

(first-call? fn-node)

Inputs: [fn-node :- s/Any] Returns: s/Bool

Inputs: [fn-node :- s/Any]
Returns: s/Bool
sourceraw docstring

fun-type->call-optsclj

(fun-type->call-opts fun-type)

Inputs: [fun-type :- at/SemanticType] Returns: CallOpts

Inputs: [fun-type :- at/SemanticType]
Returns: CallOpts
sourceraw docstring

get-call-symsclj

source

get-call?clj

(get-call? fn-node)

Inputs: [fn-node :- s/Any] Returns: s/Bool

Inputs: [fn-node :- s/Any]
Returns: s/Bool
sourceraw docstring

get-key-queryclj

(get-key-query ctx node)

Inputs: [ctx :- s/Any node :- s/Any] Returns: s/Any

Inputs: [ctx :- s/Any node :- s/Any]
Returns: s/Any
sourceraw docstring

inc-invoke-symsclj

source

inc-invoke?clj

(inc-invoke? fn-node)

Inputs: [fn-node :- s/Any] Returns: s/Bool

Inputs: [fn-node :- s/Any]
Returns: s/Bool
sourceraw docstring

instance-call-symsclj

source

into-call-symsclj

source

into-call?clj

(into-call? fn-node)

Inputs: [fn-node :- s/Any] Returns: s/Bool

Inputs: [fn-node :- s/Any]
Returns: s/Bool
sourceraw docstring

keyword-invoke-kw-and-targetclj

(keyword-invoke-kw-and-target node)

Inputs: [node :- s/Any] Returns: (s/maybe [(s/one s/Keyword "kw") (s/one s/Any "target")])

When keyword-invoke-on-local?, returns [kw-keyword target-node].

Inputs: [node :- s/Any]
Returns: (s/maybe [(s/one s/Keyword "kw") (s/one s/Any "target")])

When `keyword-invoke-on-local?`, returns `[kw-keyword target-node]`.
sourceraw docstring

keyword-invoke-on-local?clj

(keyword-invoke-on-local? node)

Inputs: [node :- s/Any] Returns: s/Bool

True for (:k x) as either JVM analyzer :invoke or :keyword-invoke.

Inputs: [node :- s/Any]
Returns: s/Bool

True for `(:k x)` as either JVM analyzer `:invoke` or `:keyword-invoke`.
sourceraw docstring

last-call-symsclj

source

last-call?clj

(last-call? fn-node)

Inputs: [fn-node :- s/Any] Returns: s/Bool

Inputs: [fn-node :- s/Any]
Returns: s/Bool
sourceraw docstring

literal-map-key?clj

(literal-map-key? node)

Inputs: [node :- s/Any] Returns: s/Bool

Inputs: [node :- s/Any]
Returns: s/Bool
sourceraw docstring

literal-node-valueclj

(literal-node-value node)

Inputs: [node :- s/Any] Returns: s/Any

Inputs: [node :- s/Any]
Returns: s/Any
sourceraw docstring

lookup-summaryclj

(lookup-summary accessor-summaries ns-sym node)

Inputs: [accessor-summaries :- s/Any ns-sym :- (s/maybe s/Symbol) node :- s/Any] Returns: s/Any

Inputs: [accessor-summaries :- s/Any ns-sym :- (s/maybe s/Symbol) node :- s/Any]
Returns: s/Any
sourceraw docstring

lookup-typeclj

(lookup-type dict ns-sym node)

Inputs: [dict :- s/Any ns-sym :- (s/maybe s/Symbol) node :- s/Any] Returns: s/Any

Inputs: [dict :- s/Any ns-sym :- (s/maybe s/Symbol) node :- s/Any]
Returns: s/Any
sourceraw docstring

map-literal-key-typeclj

(map-literal-key-type ctx node)

Inputs: [ctx :- s/Any node :- s/Any] Returns: at/SemanticType

Inputs: [ctx :- s/Any node :- s/Any]
Returns: at/SemanticType
sourceraw docstring

merge-call-symsclj

source

merge-call?clj

(merge-call? fn-node)

Inputs: [fn-node :- s/Any] Returns: s/Bool

Inputs: [fn-node :- s/Any]
Returns: s/Bool
sourceraw docstring

minus-invoke-symsclj

source

minus-invoke?clj

(minus-invoke? fn-node)

Inputs: [fn-node :- s/Any] Returns: s/Bool

Inputs: [fn-node :- s/Any]
Returns: s/Bool
sourceraw docstring

multiply-invoke-symsclj

source

multiply-invoke?clj

(multiply-invoke? fn-node)

Inputs: [fn-node :- s/Any] Returns: s/Bool

Inputs: [fn-node :- s/Any]
Returns: s/Bool
sourceraw docstring

node-infoclj

(node-info node)

Inputs: [node :- s/Any] Returns: s/Any

Inputs: [node :- s/Any]
Returns: s/Any
sourceraw docstring

not-call-symsclj

source

not-call?clj

(not-call? fn-node)

Inputs: [fn-node :- s/Any] Returns: s/Bool

Inputs: [fn-node :- s/Any]
Returns: s/Bool
sourceraw docstring

nth-call-symsclj

source

nth-call?clj

(nth-call? fn-node)

Inputs: [fn-node :- s/Any] Returns: s/Bool

Inputs: [fn-node :- s/Any]
Returns: s/Bool
sourceraw docstring

path-predicate-summary-from-formclj

(path-predicate-summary-from-form form)

Returns {:pred kw :path [kw]} when form is (s/defn name [doc?] [attr-map?] :- s/Bool [{:keys [...]} :- _] (PRED k)) where PRED is a recognised built-in single-arg type predicate and k is one of the destructured :keys. Returns nil otherwise. Only the single-arity, single-body shape is recognised; multi-arity, attr maps with metadata other than the schema marker, and predicates not in the built-in registry fall through.

Returns `{:pred kw :path [kw]}` when `form` is
`(s/defn name [doc?] [attr-map?] :- s/Bool [{:keys [...]} :- _] (PRED k))`
where PRED is a recognised built-in single-arg type predicate and `k` is one
of the destructured `:keys`. Returns nil otherwise.
Only the single-arity, single-body shape is recognised; multi-arity, attr
maps with metadata other than the schema marker, and predicates not in the
built-in registry fall through.
sourceraw docstring

plus-invoke-symsclj

source

plus-invoke?clj

(plus-invoke? fn-node)

Inputs: [fn-node :- s/Any] Returns: s/Bool

Inputs: [fn-node :- s/Any]
Returns: s/Bool
sourceraw docstring

qualify-symbolclj

(qualify-symbol ns-sym sym)

Inputs: [ns-sym :- s/Any sym :- s/Any] Returns: s/Any

Inputs: [ns-sym :- s/Any sym :- s/Any]
Returns: s/Any
sourceraw docstring

resolved-call-symclj

(resolved-call-sym fn-node)

Inputs: [fn-node :- s/Any] Returns: (s/maybe s/Symbol)

Inputs: [fn-node :- s/Any]
Returns: (s/maybe s/Symbol)
sourceraw docstring

rest-call-symsclj

source

rest-call?clj

(rest-call? fn-node)

Inputs: [fn-node :- s/Any] Returns: s/Bool

Inputs: [fn-node :- s/Any]
Returns: s/Bool
sourceraw docstring

second-call-symsclj

source

second-call?clj

(second-call? fn-node)

Inputs: [fn-node :- s/Any] Returns: s/Bool

Inputs: [fn-node :- s/Any]
Returns: s/Bool
sourceraw docstring

seq-call-symsclj

source

seq-call?clj

(seq-call? fn-node)

Inputs: [fn-node :- s/Any] Returns: s/Bool

Inputs: [fn-node :- s/Any]
Returns: s/Bool
sourceraw docstring

static-assoc-call?clj

(static-assoc-call? node)

Inputs: [node :- s/Any] Returns: s/Bool

Inputs: [node :- s/Any]
Returns: s/Bool
sourceraw docstring

static-contains-call?clj

(static-contains-call? node)

Inputs: [node :- s/Any] Returns: s/Bool

Inputs: [node :- s/Any]
Returns: s/Bool
sourceraw docstring

static-dissoc-call?clj

(static-dissoc-call? node)

Inputs: [node :- s/Any] Returns: s/Bool

Inputs: [node :- s/Any]
Returns: s/Bool
sourceraw docstring

static-equality-call?clj

(static-equality-call? node)

Inputs: [node :- s/Any] Returns: s/Bool

Inputs: [node :- s/Any]
Returns: s/Bool
sourceraw docstring

static-get-call?clj

(static-get-call? node)

Inputs: [node :- s/Any] Returns: s/Bool

Inputs: [node :- s/Any]
Returns: s/Bool
sourceraw docstring

static-merge-call?clj

(static-merge-call? node)

Inputs: [node :- s/Any] Returns: s/Bool

Inputs: [node :- s/Any]
Returns: s/Bool
sourceraw docstring

static-nil?-call?clj

(static-nil?-call? node)

Inputs: [node :- s/Any] Returns: s/Bool

Inputs: [node :- s/Any]
Returns: s/Bool
sourceraw docstring

static-nil?-targetclj

(static-nil?-target node)

Inputs: [node :- s/Any] Returns: (s/maybe s/Any)

Inputs: [node :- s/Any]
Returns: (s/maybe s/Any)
sourceraw docstring

static-update-call?clj

(static-update-call? node)

Inputs: [node :- s/Any] Returns: s/Bool

Inputs: [node :- s/Any]
Returns: s/Bool
sourceraw docstring

take-call-symsclj

source

take-call?clj

(take-call? fn-node)

Inputs: [fn-node :- s/Any] Returns: s/Bool

Inputs: [fn-node :- s/Any]
Returns: s/Bool
sourceraw docstring

take-while-call-symsclj

source

take-while-call?clj

(take-while-call? fn-node)

Inputs: [fn-node :- s/Any] Returns: s/Bool

Inputs: [fn-node :- s/Any]
Returns: s/Bool
sourceraw docstring

type-predicate-assumption-infoclj

(type-predicate-assumption-info fn-node args)

Inputs: [fn-node :- s/Any args :- [s/Any]] Returns: (s/maybe aos/PredInfo)

Inputs: [fn-node :- s/Any args :- [s/Any]]
Returns: (s/maybe aos/PredInfo)
sourceraw docstring

type-predicate-assumption-info-for-symclj

(type-predicate-assumption-info-for-sym sym args)

Inputs: [sym :- (s/maybe s/Symbol) args :- [s/Any]] Returns: (s/maybe aos/PredInfo)

Inputs: [sym :- (s/maybe s/Symbol) args :- [s/Any]]
Returns: (s/maybe aos/PredInfo)
sourceraw docstring

type-predicate-call?clj

(type-predicate-call? fn-node args)

Inputs: [fn-node :- s/Any args :- [s/Any]] Returns: s/Bool

Inputs: [fn-node :- s/Any args :- [s/Any]]
Returns: s/Bool
sourceraw docstring

type-predicate-sym->predclj

source

typed-callable?clj

(typed-callable? fn-node)

Inputs: [fn-node :- s/Any] Returns: s/Bool

Inputs: [fn-node :- s/Any]
Returns: s/Bool
sourceraw docstring

update-call-symsclj

source

update-call?clj

(update-call? fn-node)

Inputs: [fn-node :- s/Any] Returns: s/Bool

Inputs: [fn-node :- s/Any]
Returns: s/Bool
sourceraw docstring

user-fn-path-predicate-infoclj

(user-fn-path-predicate-info sym)

Inputs: [sym :- (s/maybe s/Symbol)] Returns: (s/maybe #:s{Keyword s/Any})

Lookup helper for *user-fn-path-predicate-summaries*.

Inputs: [sym :- (s/maybe s/Symbol)]
Returns: (s/maybe #:s{Keyword s/Any})

Lookup helper for `*user-fn-path-predicate-summaries*`.
sourceraw docstring

var->symclj

(var->sym var)

Inputs: [var :- s/Any] Returns: (s/maybe s/Symbol)

Inputs: [var :- s/Any]
Returns: (s/maybe s/Symbol)
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close