Liking cljdoc? Tell your friends :D

hive-build.promote.elide

Source-level metadata elision, applied to a staged copy of the sources before AOT. Pure: text in, text out.

The compiler's :elide-meta reaches def metadata only. An ns form's docstring is part of a constant map the ns macro emits, so it survives into the generated __init class verbatim.

Source-level metadata elision, applied to a staged copy of the sources
before AOT. Pure: text in, text out.

The compiler's :elide-meta reaches `def` metadata only. An `ns` form's
docstring is part of a constant map the ns macro emits, so it survives into
the generated __init class verbatim.
raw docstring

clojure-source?clj

(clojure-source? path)

True when path names a file the staging pass should rewrite.

True when `path` names a file the staging pass should rewrite.
sourceraw docstring

ns-docstring-spanclj

(ns-docstring-span source)

[start end) of the docstring literal in source's leading ns form, or nil when the file does not open with an ns form that declares one.

Refuses rather than guesses: anything it cannot parse yields nil, and the file is then staged unchanged.

`[start end)` of the docstring literal in `source`'s leading ns form, or nil
when the file does not open with an ns form that declares one.

Refuses rather than guesses: anything it cannot parse yields nil, and the
file is then staged unchanged.
sourceraw docstring

source-extensionsclj

File suffixes whose ns form the staging pass rewrites.

File suffixes whose ns form the staging pass rewrites.
sourceraw docstring

without-ns-docstringclj

(without-ns-docstring source)

source with its ns docstring removed, or source unchanged when it declares none.

Contract: the result differs from source only by the deletion of one contiguous span, and reads as the same ns form minus its :doc.

`source` with its ns docstring removed, or `source` unchanged when it
declares none.

Contract: the result differs from `source` only by the deletion of one
contiguous span, and reads as the same ns form minus its :doc.
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