(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.
(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.
(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).
(parse-string s)
Same as rewrite-clj.parser/parse-string-all
Same as rewrite-clj.parser/parse-string-all
(sexpr node)
Same as rewrite-clj.node/sexpr
Same as rewrite-clj.node/sexpr
(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.
(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.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close