API for passes.jvm.classify-invoke - JVM-specific passes for tools.analyzer 0.6.1 (in development)


Full namespace name: clojure.tools.analyzer.passes.jvm.classify-invoke

Overview





Public Variables and Functions



classify-invoke

function
Usage: (classify-invoke {:keys [op args tag env form], :as ast})
If the AST node is an :invoke, check the node in function position,
* if it is a keyword, transform the node in a :keyword-invoke node;
* if it is the clojure.core/instance? var and the first argument is a
  literal class, transform the node in a :instance? node to be inlined by
  the emitter
* if it is a protocol function var, transform the node in a :protocol-invoke
  node
* if it is a regular function with primitive type hints that match a
  clojure.lang.IFn$[primitive interface], transform the node in a :prim-invoke
  node
Source
Logo & site design by Tom Hickey.
Clojure auto-documentation system by Tom Faulhaber.