Liking cljdoc? Tell your friends :D

typed.clj.checker.check.host-interop


add-type-hintsclj

(add-type-hints expr)

Add type hints to an expression, only if it can be preserved via emit-form to the Clojure compiler.

The most reliable AST node to convey a type hint is :local, so we restrict adding type hints to only :local nodes.

Add type hints to an expression, only if it can
be preserved via emit-form to the Clojure compiler.

The most reliable AST node to convey a type hint
is :local, so we restrict adding type hints to only
:local nodes.
raw docstring

check-host-callclj

(check-host-call -host-call-special expr expected opts)

check-host-interopclj

(check-host-interop expr
                    expected
                    {:typed.cljc.checker.check/keys [check-expr] :as opts})

check-maybe-host-formclj

(check-maybe-host-form expr
                       expected
                       {:typed.cljc.checker.check/keys [check-expr] :as opts})

try-resolve-reflectionclj

(try-resolve-reflection ast opts)

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

× close