API for passes.js.infer-tag - Javascript-specific passes for tools.analyzer 0.1.0 (in development)


Full namespace name: clojure.tools.analyzer.passes.js.infer-tag

Overview





Public Variables and Functions



infer-tag

function
Usage: (infer-tag {:keys [tag], :as ast})
Performs local type inference on the AST adds, when possible,
one or more of the following keys to the AST:
* :tag        represents the type the expression represented by the node
* :return-tag implies that the node will return a function whose
              invocation will result in a object of this type
* :arglists   implies that the node will return a function with
              this arglists
* :ignore-tag true when the node is untyped, does not imply that
              all untyped node will have this

    
    
    Source
  
Logo & site design by Tom Hickey.
Clojure auto-documentation system by Tom Faulhaber.