Skip to main content

list-node

function

rewrite-clj.node/list-node

(list-node [children])
Create a node representing a list with `children`. ```Clojure (require '[rewrite-clj.node :as n]) (-> (n/list-node [(n/token-node 1) (n/spaces 1) (n/token-node 2) (n/spaces 1) (n/token-node 3)]) n/string) ;; => "(1 2 3)" ```

No examples yet. Be the first to add one!