Index of Public Functions and Variables -
This page has an alphabetical index of all the documented functions and variables
in
tools.analyzer.
A
add-binding-atom function clojure.tools.analyzer.passes.add-binding-atom Adds an atom-backed-ma...
analyze function clojure.tools.analyzer Given a form to analyze and an environment, a ...
analyze-form dynamic multimethod clojure.tools.analyzer Like analyze, but does not mark the form with ...
analyze-in-env function clojure.tools.analyzer Takes an env map and returns a function that a...
arglist-for-arity function clojure.tools.analyzer.utils Takes a fn node and an argc and returns ...
ast->eav function clojure.tools.analyzer.ast Returns an EAV representation of the curre...
B
boolean? function clojure.tools.analyzer.utils Returns true if x is a boolean.
butlast+last function clojure.tools.analyzer.utils Returns same value as (juxt butlast last...
C
calculate-deps function clojure.tools.analyzer.passes Takes a map of pass-name -> pass-info a...
children function clojure.tools.analyzer.ast Return a vector of the children expression...
children* function clojure.tools.analyzer.ast Return a vector of vectors of the children...
classify function clojure.tools.analyzer.utils Returns a keyword describing the form ty...
collect-closed-overs function clojure.tools.analyzer.passes.collect-closed-overs Attach closed-over...
const-val function clojure.tools.analyzer.utils Returns the value of a constant node (ei...
constant-lift multimethod clojure.tools.analyzer.passes.constant-lifter If the node represents ...
constant? function clojure.tools.analyzer.utils Returns true if the var is a const.
create-var dynamic function clojure.tools.analyzer Creates a var for sym and returns it.
ctx function clojure.tools.analyzer.utils Returns a copy of the passed environment...
cycling function clojure.tools.analyzer.ast Combine the given passes in a single pass ...
D
db function clojure.tools.analyzer.ast.query Given a list of ASTs, returns a repr...
deref-env function clojure.tools.analyzer.env Returns the value of the current global en...
desugar-deps function clojure.tools.analyzer.passes Takes a map of pass-name -> pass deps a...
dissoc-env function clojure.tools.analyzer.utils Dissocs :env from the ast.
dynamic? function clojure.tools.analyzer.utils Returns true if the var is dynamic.
E
*env* dynamic var clojure.tools.analyzer.env Global env atom containing a map. Required...
-emit-form* dynamic function clojure.tools.analyzer.passes.emit-form Extension point for custom em...
elide-meta function clojure.tools.analyzer.passes.elide-meta If elides is not empty and t...
elides dynamic var clojure.tools.analyzer.passes.elide-meta A map of op keywords to pred...
emit-form function clojure.tools.analyzer.passes.emit-form Return the form represented b...
emit-hygienic-form function clojure.tools.analyzer.passes.emit-form Return an hygienic form repre...
empty-env function clojure.tools.analyzer Returns an empty env.
ensure macro clojure.tools.analyzer.env If *env* is not bound it binds it to env b...
G
group function clojure.tools.analyzer.passes Takes a scheduler state and returns a v...
I
index-vector-nodes function clojure.tools.analyzer.passes.index-vector-nodes Adds an :idx attribu...
into! function clojure.tools.analyzer.utils Like into, but for transients.
M
macro? function clojure.tools.analyzer.utils Returns true if the var maps to a macro.
macroexpand function clojure.tools.analyzer Repeatedly calls macroexpand-1 on form until i...
macroexpand-1 dynamic function clojure.tools.analyzer If form represents a macro form, returns its e...
mapv' function clojure.tools.analyzer.utils Like mapv, but short-circuits on reduced.
merge' function clojure.tools.analyzer.utils Like merge, but uses transients.
mmerge var clojure.tools.analyzer.utils Same as (fn [m1 m2] (merge-with merge m2...
N
nodes function clojure.tools.analyzer.ast Returns a lazy-seq of all the nodes in the...
O
obj? function clojure.tools.analyzer.utils Returns true if x implements IObj.
P
-parse function clojure.tools.analyzer Takes a form and an env map and dispatches on ...
parse dynamic function clojure.tools.analyzer Multimethod that dispatches on op, should defa...
postwalk function clojure.tools.analyzer.ast Shorthand for (walk ast identity f reverse...
prewalk function clojure.tools.analyzer.ast Shorthand for (walk ast f identity).
private? function clojure.tools.analyzer.utils Returns true if the var is private.
protocol-node? function clojure.tools.analyzer.utils Returns true if the var maps to a protoc...
Q
q function clojure.tools.analyzer.ast.query Execute a Datomic Datalog query agai...
query-map function clojure.tools.analyzer.ast.query Transforms a Datomic query from its ...
R
record? function clojure.tools.analyzer.utils Returns true if x is a record.
reference? function clojure.tools.analyzer.utils Returns true if x implements IReference.
regex? function clojure.tools.analyzer.utils Returns true if x is a regex.
resolve-calls function clojure.tools.analyzer.ast.query Automatically replace fn name symbol...
resolve-ns function clojure.tools.analyzer.utils Resolves the ns mapped by the given sym ...
resolve-sym function clojure.tools.analyzer.utils Resolves the value mapped by the given s...
rseqv function clojure.tools.analyzer.utils Same as (comp vec rseq).
S
-source-info function clojure.tools.analyzer.utils Returns the source-info of x.
schedule function clojure.tools.analyzer.passes Takes a set of Vars that represent tool...
select-keys' function clojure.tools.analyzer.utils Like clojure.core/select-keys, but uses ...
source-info function clojure.tools.analyzer.passes.source-info Adds (when avaliable) :line...
source-info function clojure.tools.analyzer.utils Returns the available source-info keys f...
specials var clojure.tools.analyzer Set of special forms common to every clojure v...
T
trim function clojure.tools.analyzer.passes.trim Trims the AST of unnecessary nodes...
type? function clojure.tools.analyzer.utils Returns true if x is a type.
U
unfold-expression-clauses function clojure.tools.analyzer.ast.query Given a Datomic query, walk the :whe...
uniquify-locals function clojure.tools.analyzer.passes.uniquify Walks the AST performing alpha...
update-children function clojure.tools.analyzer.ast Applies `f` to each AST children node, rep...
update-children-reduced function clojure.tools.analyzer.ast Like update-children but returns a reduced...
update-keys function clojure.tools.analyzer.utils Applies f to all the keys in the map.
update-kv function clojure.tools.analyzer.utils Applies f to all the keys and vals in th...
update-vals function clojure.tools.analyzer.utils Applies f to all the vals in the map.
V
var? dynamic function clojure.tools.analyzer Returns true if obj represent a var form as re...
W
walk function clojure.tools.analyzer.ast Walk the ast applying `pre` when entering ...
warn-earmuff function clojure.tools.analyzer.passes.warn-earmuff Prints a warning to *err* ...
with-env macro clojure.tools.analyzer.env Binds the global env to env, then executes...