Overview of clojure.tools.namespace components
masterThe library is divided into several functional namespaces:
clojure.tools.namespace.parse: A syntactic parser fornsdeclarations. It extracts:requireand:useclauses without evaluating code.clojure.tools.namespace.find: Utilities to locate Clojure namespaces on the filesystem, in directories, or within JAR files.clojure.tools.namespace.repl: The primary entry point for reloading code. It manages a dependency graph and handles loading/unloading namespaces. It is composed ofdependency,track,file,dir, andreload.clojure.tools.namespace.move: (ALPHA) Utilities for renaming and moving namespaces. Warning: This modifies your source files.
ClojureScript Support:
Namespaces c.t.n.dependency, c.t.n.track, and c.t.n.parse are .cljc files usable in both Clojure and ClojureScript. Most functions in c.t.n.find and c.t.n.file can analyze both Clojure and ClojureScript source files if provided with a platform argument (clj or cljs).