cljs.analyzer.api/with-state

macrosince v1.7.10Edit
(with-state state & body)

Source docstring:
Run the body with the given compilation state Atom.
Source code @ clojurescript:src/main/clojure/cljs/analyzer/api.cljc
(defmacro with-state
  [state & body]
  `(env/with-compiler-env ~state
     ~@body))