Rewrite-cljs Api Documentation

Version: 0.3.0

rewrite-clj.node.fn

->FnNode

(->FnNode children)

construct-fn

(construct-fn syms vararg body)

Construct function form.

fn-node

(fn-node children)

Create node representing an anonymous function.

fn-walk

(fn-walk form)

Walk the form and create an expand function form.

map->FnNode

(map->FnNode G__5390)

sym-index

(sym-index n)

Get index based on the substring following the parameter’s %. Zero means vararg.

symbol->gensym

(symbol->gensym sym-seq vararg? max-n sym)

If symbol starting with %, convert to respective gensym.