(analyse-source-file file)
analyses a source file for namespace and function definitions
(analyse-source-file "example/code.analysis/src/example/core.clj") => '{example.core {foo {:source {:code "(defn foo\n [x]\n (println x "Hello, World!"))" :line {:row 3, :col 1, :end-row 6, :end-col 31}, :path "example/code.analysis/src/example/core.clj"}}}}
analyses a source file for namespace and function definitions (analyse-source-file "example/code.analysis/src/example/core.clj") => '{example.core {foo {:source {:code "(defn foo\n [x]\n (println x \"Hello, World!\"))" :line {:row 3, :col 1, :end-row 6, :end-col 31}, :path "example/code.analysis/src/example/core.clj"}}}}
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close