Liking cljdoc? Tell your friends :D

cljs-tooling.util.analysis


all-nsclj/s

(all-ns env)
source

core-macrosclj/s

(core-macros env ns)

Returns a list of cljs.core macros visible to the ns.

Returns a list of cljs.core macros visible to the ns.
sourceraw docstring

core-varsclj/s

(core-vars env ns)

Returns a list of cljs.core vars visible to the ns.

Returns a list of cljs.core vars visible to the ns.
sourceraw docstring

find-nsclj/s

(find-ns env ns)
source

find-symbol-metaclj/s

(find-symbol-meta env sym)

Given a namespace-qualified var name, gets the analyzer metadata for that var.

Given a namespace-qualified var name, gets the analyzer metadata for that
var.
sourceraw docstring

importsclj/s

(imports env ns)

Returns a map of [import-name] to [ns-qualified-import-name] for all imports in the given namespace.

Returns a map of [import-name] to [ns-qualified-import-name] for all imports
in the given namespace.
sourceraw docstring

keyword-constantsclj/s

(keyword-constants env)

Returns a list of both keyword constants in the environment and language specific ones.

Returns a list of both keyword constants in the environment and
language specific ones.
sourceraw docstring

macro-ns-aliasclj/s

(macro-ns-alias env sym ns)

If sym is an alias to, or the name of, a macro namespace referred to in ns, returns the name of the macro namespace; else returns nil.

If sym is an alias to, or the name of, a macro namespace referred to in ns,
returns the name of the macro namespace; else returns nil.
sourceraw docstring

macro-ns-aliasesclj/s

(macro-ns-aliases env ns)

Returns a map of [macro-ns-name-or-alias] to [macro-ns-name] for the given namespace.

Returns a map of [macro-ns-name-or-alias] to [macro-ns-name] for the given namespace.
sourceraw docstring

ns-aliasclj/s

(ns-alias env sym ns)

If sym is an alias to, or the name of, a namespace referred to in ns, returns the name of the namespace; else returns nil.

If sym is an alias to, or the name of, a namespace referred to in ns, returns
the name of the namespace; else returns nil.
sourceraw docstring

ns-aliasesclj/s

(ns-aliases env ns)

Returns a map of [ns-name-or-alias] to [ns-name] for the given namespace.

Returns a map of [ns-name-or-alias] to [ns-name] for the given namespace.
sourceraw docstring

ns-interns-from-envclj/s

(ns-interns-from-env env ns)

Given a namespace return all the var analysis maps. Analagous to clojure.core/ns-interns but returns var analysis maps not vars.

Directly from cljs.analyzer.api.

Given a namespace return all the var analysis maps. Analagous to
clojure.core/ns-interns but returns var analysis maps not vars.

Directly from cljs.analyzer.api.
sourceraw docstring

ns-metaclj/s

(ns-meta var)

Return meta for the var, we wrap it in order to support both JVM and self-host.

Return meta for the var, we wrap it in order to support both JVM and
self-host.
sourceraw docstring

ns-varsclj/s

(ns-vars env ns)

Returns a list of the vars declared in the ns.

Returns a list of the vars declared in the ns.
sourceraw docstring

NSESclj/s

source

public-macrosclj/s

(public-macros env ns)

Given a namespace return all the public var analysis maps. Analagous to clojure.core/ns-publics but returns var analysis maps not vars.

Inspired by the ns-publics in cljs.analyzer.api.

Given a namespace return all the public var analysis maps. Analagous to
clojure.core/ns-publics but returns var analysis maps not vars.

Inspired by the ns-publics in cljs.analyzer.api.
sourceraw docstring

public-varsclj/s

(public-vars env ns)

Returns a list of the public vars declared in the ns.

Returns a list of the public vars declared in the ns.
sourceraw docstring

referred-macrosclj/s

(referred-macros env ns)

Returns a map of [macro-name] to [ns-qualified-macro-name] for all referred macros in the given namespace.

Returns a map of [macro-name] to [ns-qualified-macro-name] for all referred
macros in the given namespace.
sourceraw docstring

referred-varsclj/s

(referred-vars env ns)

Returns a map of [var-name] to [ns-qualified-var-name] for all referred vars in the given namespace.

Returns a map of [var-name] to [ns-qualified-var-name] for all referred vars
in the given namespace.
sourceraw docstring

sanitize-nsclj/s

(sanitize-ns m)

Add :ns from :name if missing.

Add :ns from :name if missing.
sourceraw docstring

special-metaclj/s

(special-meta _ sym)

Given a special symbol, gets the analyzer metadata.

Given a special symbol, gets the analyzer metadata.
sourceraw docstring

var-metaclj/s

(var-meta var)

Return meta for the var, we wrap it in order to support both JVM and self-host.

Return meta for the var, we wrap it in order to support both JVM and
self-host.
sourceraw docstring

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

× close