Worker-side cljs analyzer execution. Mirrors the parse + reader-loop
that live in skeptic.cljs.analyzer-driver, with no Skeptic / Schema /
Malli dependency. The host-side source-file wrapper is rewired to issue a
worker RPC instead of running the cljs analyzer locally.
Wire payloads carry the source-file descriptor only; the cljs compiler state never crosses the wire.
Worker-side cljs analyzer execution. Mirrors the parse + reader-loop that live in `skeptic.cljs.analyzer-driver`, with no Skeptic / Schema / Malli dependency. The host-side source-file wrapper is rewired to issue a worker RPC instead of running the cljs analyzer locally. Wire payloads carry the source-file descriptor only; the cljs compiler state never crosses the wire.
(analyze-source-file source-file)Analyze every top-level form of source-file using the cljs analyzer's
reader loop. Returns {:ns-ast :entries :asts} in the shape the host
wrapper produces today.
Analyze every top-level form of `source-file` using the cljs analyzer's
reader loop. Returns `{:ns-ast :entries :asts}` in the shape the host
wrapper produces today.(ns-head source-file)Parse only source-file's (ns ...) form on the worker (project basis) and
return the dependency-ordering head fields. The rest of the file is not
analyzed. Mirrors the data skeptic.cljs.topo/file-head needs.
Parse only `source-file`'s `(ns ...)` form on the worker (project basis) and return the dependency-ordering head fields. The rest of the file is not analyzed. Mirrors the data `skeptic.cljs.topo/file-head` needs.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |