Liking cljdoc? Tell your friends :D

parity.analyze.branch

Source dependency graph of the Clojure language. Scans .clj files, extracts definitions, resolves deps, catalogs host refs.

Source dependency graph of the Clojure language.
Scans .clj files, extracts definitions, resolves deps, catalogs host refs.
raw docstring

-mainclj

(-main & args)
source

analyze-sourceclj

(analyze-source input)

Analyze source files. Returns {:classified :layers :file-results}.

Analyze source files. Returns {:classified :layers :file-results}.
sourceraw docstring

assign-layersclj

(assign-layers graph)
source

build-full-graphclj

(build-full-graph file-results)

Build graph from all files. Each def is keyed as ns/name.

Build graph from all files. Each def is keyed as ns/name.
sourceraw docstring

classifyclj

(classify graph layers)
source

collect-symbolsclj

(collect-symbols form)

Recursively collect all symbols (as strings) referenced in a form.

Recursively collect all symbols (as strings) referenced in a form.
sourceraw docstring

extract-body-symbolsclj

(extract-body-symbols form)
source

extract-defsclj

(extract-defs zloc)

Walk top-level forms, extract all def-like names.

Walk top-level forms, extract all def-like names.
sourceraw docstring

extract-host-contractclj

(extract-host-contract graph)

Aggregate all host references across the entire codebase.

Aggregate all host references across the entire codebase.
sourceraw docstring

find-clj-filesclj

(find-clj-files root)

Find all .clj files under a directory (including root level).

Find all .clj files under a directory (including root level).
sourceraw docstring

host-ref?clj

(host-ref? sym-str)
source

ns-from-pathclj

(ns-from-path path root)

Derive namespace from file path relative to src root.

Derive namespace from file path relative to src root.
sourceraw docstring

parse-host-refclj

(parse-host-ref sym-str)

Parse a symbol string into host reference info, or nil.

Parse a symbol string into host reference info, or nil.
sourceraw docstring

(print-dot classified)
source

(print-edn classified layers file-results)
source

(print-host-contract classified)
source

(print-host-data classified)

Output per-namespace host analysis as EDN, for consumption by specgen --coverage.

Output per-namespace host analysis as EDN, for consumption by specgen --coverage.
sourceraw docstring

(print-summary classified layers file-results)
source

process-fileclj

(process-file path root)

Parse one .clj file. Returns {:ns _ :defs [...] :parse-error? bool}.

Parse one .clj file. Returns {:ns _ :defs [...] :parse-error? bool}.
sourceraw docstring

special-formsclj

source

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