Liking cljdoc? Tell your friends :D

skeptic.worker.project-context

Worker-side project execution context.

The worker has a private runtime used to boot nREPL/Nippy/analyzers. Project code is loaded and analyzed only while this context is active, so require, macroexpansion, source reading, analyzer class lookup, predicate calls, and declaration collection all see the same project class loader bindings.

Worker-side project execution context.

The worker has a private runtime used to boot nREPL/Nippy/analyzers. Project
code is loaded and analyzed only while this context is active, so require,
macroexpansion, source reading, analyzer class lookup, predicate calls, and
declaration collection all see the same project class loader bindings.
raw docstring

compiler-loader-varclj

source

currentclj

(current)
source

install!clj

(install! project-cp)
source

loaderclj

(loader)
source

makeclj

(make project-cp parent-loader)

Build a ProjectContext from the effective project classpath string supplied by the entrypoint.

Build a ProjectContext from the effective project classpath string supplied
by the entrypoint.
sourceraw docstring

with-project-contextcljmacro

(with-project-context & body)

Run body inside the installed project execution context.

This binds all loader knobs Clojure consults during project require/load and macroexpansion: the thread context ClassLoader, use-context-classloader, and clojure.lang.Compiler/LOADER.

Run body inside the installed project execution context.

This binds all loader knobs Clojure consults during project require/load and
macroexpansion: the thread context ClassLoader, *use-context-classloader*,
and clojure.lang.Compiler/LOADER.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close