Liking cljdoc? Tell your friends :D

borkdude.rewrite-edn


assocclj/s

(assoc node k v)

Associates k to v in node (which may be a forms node as returned by parse-string or map node). Both k and v are coerced into nodes.

Associates k to v in node (which may be a forms node as returned by parse-string or map node).
Both k and v are coerced into nodes.
sourceraw docstring

assoc-inclj/s

(assoc-in node ks v)

Associates value under keys ks in map node with v.

Associates value under keys ks in map node with v.
sourceraw docstring

dissocclj/s

(dissoc node k)
source

map-keysclj/s

(map-keys f node)

Maps f over keys of node (which may be a forms node as returned by parse-string or map node).

Maps f over keys of node (which may be a forms node as returned by
parse-string or map node).
sourceraw docstring

parse-stringclj/s

(parse-string s)

Same as rewrite-clj.parser/parse-string-all

Same as rewrite-clj.parser/parse-string-all
sourceraw docstring

sexprclj/s

(sexpr node)

Same as rewrite-clj.node/sexpr

Same as rewrite-clj.node/sexpr
sourceraw docstring

updateclj/s

(update node k f)

Updates value under key k in map node. Function f receives node. Return value is coerced into node.

Updates value under key k in map node. Function f receives
node. Return value is coerced into node.
sourceraw docstring

update-inclj/s

(update-in node ks f)

Updates value under keys ks in map node. Function f receives node. Return value is coerced into node.

Updates value under keys ks in map node. Function f receives
node. Return value is coerced into node.
sourceraw docstring

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

× close