(find-js-resource {:keys [index-ref] :as cp} require)
(find-js-resource cp {:keys [resource-name] :as require-from} require)
(find-resource-by-file {:keys [index-ref] :as cp} file)
returns nil if file is not registered on the classpath
returns nil if file is not registered on the classpath
(find-resource-by-name {:keys [index-ref] :as cp} name)
returns nil if name is not on the classpath (or was filtered)
returns nil if name is not on the classpath (or was filtered)
(find-resource-for-provide {:keys [index-ref] :as cp} provide-sym)
(get-source-provides {:keys [index-ref] :as cp})
returns the set of provided symbols from sources not in jars
returns the set of provided symbols from sources not in jars
(index-path-merge state
source-path
{:keys [externs foreign-libs resources] :as dir-contents})
(index-rc-merge-js index
{:keys [type ns resource-name provides url file] :as rc})
(inspect-cljs {:keys [url resource-name macros-ns] :as rc})
looks at the first form in a .cljs file, analyzes it if (ns ...) and returns the updated resource with ns-related infos
looks at the first form in a .cljs file, analyzes it if (ns ...) and returns the updated resource with ns-related infos
(set-output-name {:keys [type ns resource-name] :as rc})
sets the :output-name for each given resource demo/foo.cljs becomes demo.foo.js JS inputs are named to match their name generated by closure to avoid conclicts demo/foo.js becomes module$demo$foo.js
sets the :output-name for each given resource demo/foo.cljs becomes demo.foo.js JS inputs are named to match their name generated by closure to avoid conclicts demo/foo.js becomes module$demo$foo.js
(should-ignore-resource? {:keys [ignore-patterns] :as state} resource-name)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close