Liking cljdoc? Tell your friends :D

cider.nrepl.inlined.deps.instaparse.v1v4v12.instaparse.transform

Functions to transform parse trees

Functions to transform parse trees
raw docstring

map-preserving-metaclj

(map-preserving-meta f l)
source

merge-metaclj

(merge-meta obj metamap)

This variation of the merge-meta in gll does nothing if obj is not something that can have a metamap attached.

This variation of the merge-meta in gll does nothing if obj is not
something that can have a metamap attached.
sourceraw docstring

transformclj

(transform transform-map parse-tree)

Takes a transform map and a parse tree (or seq of parse-trees). A transform map is a mapping from tags to functions that take a node's contents and return a replacement for the node, i.e., {:node-tag (fn [child1 child2 ...] node-replacement), :another-node-tag (fn [child1 child2 ...] node-replacement)}

Takes a transform map and a parse tree (or seq of parse-trees).
A transform map is a mapping from tags to 
functions that take a node's contents and return
a replacement for the node, i.e.,
{:node-tag (fn [child1 child2 ...] node-replacement),
 :another-node-tag (fn [child1 child2 ...] node-replacement)}
sourceraw docstring

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

× close