(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 check-expr -host-call-special expr expected)
(check-host-interop check-expr expr expected)
(check-maybe-host-form check-expr expr expected)
(try-resolve-reflection ast)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close