Liking cljdoc? Tell your friends :D

clojure.tools.analyzer.passes.jvm.annotate-loops


-check-recurclj

(-check-recur ast k)
source

-loopsclj

(-loops ast loop-id)
source

annotate-loopscljmultimethod

Adds a :loops field to nodes that represent a code path that might be visited more than once because of a recur.

The field is a set of loop-ids representing the loops that might recur into that path

Note that because (recur expr) is equivalent to (let [e expr] (recur e)) the node corresponting to expr will have the same :loops field as the nodes in the same code path of the recur

Adds a :loops field to nodes that represent a code path that
might be visited more than once because of a recur.

The field is a set of loop-ids representing the loops that might
recur into that path

Note that because (recur expr) is equivalent to (let [e expr] (recur e))
the node corresponting to expr will have the same :loops field
as the nodes in the same code path of the recur
sourceraw docstring

check-recurcljmultimethod

source

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

× close