(run-passes ast)
Function that will be invoked on the AST tree immediately after it has been constructed,
by default runs the passes declared in #'default-passes, should be rebound if a different
set of passes is required.
Use #'clojure.tools.analyzer.passes/schedule to get a function from a set of passes that
run-passes can be bound to.
Source
(defn ^:dynamic run-passes
"Function that will be invoked on the AST tree immediately after it has been constructed,
by default runs the passes declared in #'default-passes, should be rebound if a different
set of passes is required.
Use #'clojure.tools.analyzer.passes/schedule to get a function from a set of passes that
run-passes can be bound to."
[ast]
(scheduled-default-passes ast))