blk_new()
instantiates a newblk
node.blk_type()
checks if the node is ablk
node.blk_<child>_get()
returns the<child>
node ofblk
.blk_<child>_set()
sets the new<child>
and deletes the old<child>
.blk_<child>_rep()
sets the new<child>
and returns the old<child>
.
Usage
blk_new(ast, lbkt, exprs, rbkt)
blk_type(ast, node)
blk_lbkt_get(ast, node)
blk_lbkt_rep(ast, node, lbkt)
blk_lbkt_set(ast, node, lbkt)
blk_exprs_get(ast, node)
blk_exprs_rep(ast, node, exprs)
blk_exprs_set(ast, node, exprs)
blk_rbkt_get(ast, node)
blk_rbkt_rep(ast, node, rbkt)
blk_rbkt_set(ast, node, rbkt)