(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.
(check-host-call -host-call-special expr expected opts)
(check-host-interop expr
expected
{:typed.cljc.checker.check/keys [check-expr] :as opts})
(check-maybe-host-form expr
expected
{:typed.cljc.checker.check/keys [check-expr] :as opts})
(try-resolve-reflection ast opts)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close