Liking cljdoc? Tell your friends :D

eastwood.copieddeps.dep9.clojure.tools.namespace.parse

Parse Clojure namespace (ns) declarations and extract dependencies.

Parse Clojure namespace (ns) declarations and extract
dependencies.
raw docstring

clj-read-optsclj

Map of options for tools.reader/read allowing reader conditionals with the :clj feature enabled.

Map of options for tools.reader/read allowing reader conditionals
with the :clj feature enabled.
sourceraw docstring

cljs-read-optsclj

Map of options for tools.reader/read allowing reader conditionals with the :cljs feature enabled.

Map of options for tools.reader/read allowing reader conditionals
with the :cljs feature enabled.
sourceraw docstring

comment?clj

(comment? form)

Returns true if form is a (comment ...)

Returns true if form is a (comment ...)
sourceraw docstring

deps-from-ns-declclj

(deps-from-ns-decl decl)

Given an (ns...) declaration form (unevaluated), returns a set of symbols naming the dependencies of that namespace. Handles :use and :require clauses but not :load.

Given an (ns...) declaration form (unevaluated), returns a set of
symbols naming the dependencies of that namespace.  Handles :use and
:require clauses but not :load.
sourceraw docstring

name-from-ns-declclj

(name-from-ns-decl decl)

Given an (ns...) declaration form (unevaluated), returns the name of the namespace as a symbol.

Given an (ns...) declaration form (unevaluated), returns the name
of the namespace as a symbol.
sourceraw docstring

ns-decl?clj

(ns-decl? form)

Returns true if form is a (ns ...) declaration.

Returns true if form is a (ns ...) declaration.
sourceraw docstring

read-ns-declclj

(read-ns-decl rdr)
(read-ns-decl rdr read-opts)

Attempts to read a (ns ...) declaration from a reader, and returns the unevaluated form. Returns the first top-level ns form found. Returns nil if ns declaration cannot be found. Throws exception on invalid syntax.

Note that read can execute code (controlled by tools.reader/read-eval), and as such should be used only with trusted sources. read-opts is passed through to tools.reader/read, defaults to clj-read-opts

Attempts to read a (ns ...) declaration from a reader, and returns
the unevaluated form. Returns the first top-level ns form found.
Returns nil if ns declaration cannot be found. Throws exception on
invalid syntax.

Note that read can execute code (controlled by
tools.reader/*read-eval*), and as such should be used only with
trusted sources. read-opts is passed through to tools.reader/read,
defaults to clj-read-opts
sourceraw docstring

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

× close