Liking cljdoc? Tell your friends :D

compliment.sources.ns-mappings

Completion for vars and classes in the current namespace.

Completion for vars and classes in the current namespace.
raw docstring

candidatesclj

(candidates prefix ns context)

Returns a list of namespace-bound candidates, with namespace being either the scope (if prefix is scoped), ns arg or the namespace extracted from context if inside ns declaration.

Returns a list of namespace-bound candidates, with namespace being
either the scope (if prefix is scoped), `ns` arg or the namespace
extracted from context if inside `ns` declaration.
sourceraw docstring

dash-matches?clj

(dash-matches? prefix var)

Tests if prefix partially matches a var name with dashes as separators.

Tests if prefix partially matches a var name with dashes as
separators.
sourceraw docstring

docclj

(doc symbol-str ns)

Documentation function for this sources' completions.

Documentation function for this sources' completions.
sourceraw docstring

generate-docstringclj

(generate-docstring m)

Generates a docstring from a given var metadata. Copied from clojure.repl with some minor modifications.

Generates a docstring from a given var metadata. Copied from
`clojure.repl` with some minor modifications.
sourceraw docstring

get-scope-and-prefixclj

(get-scope-and-prefix s ns)

Tries to get take apart scope namespace and prefix in prefixes like scope/var.

Tries to get take apart scope namespace and prefix in prefixes like
`scope/var`.
sourceraw docstring

try-get-ns-from-contextclj

(try-get-ns-from-context context)

Tries to extract a namespace name if context is a ns definition.

Tries to extract a namespace name if context is a `ns` definition.
sourceraw docstring

var-symbol?clj

(var-symbol? x)

Test if prefix resembles a var name.

Test if prefix resembles a var name.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close