sub_new()
instantiates a newsub
node.sub_type()
checks if the node is asub
node.sub_<child>_get()
returns the<child>
node ofsub
.sub_<child>_set()
sets the new<child>
and deletes the old<child>
.sub_<child>_rep()
sets the new<child>
and returns the old<child>
.
Usage
sub_new(ast, obj, lbkt, args, rbkt)
sub_type(ast, node)
sub_obj_get(ast, node)
sub_obj_rep(ast, node, obj)
sub_obj_set(ast, node, obj)
sub_lbkt_get(ast, node)
sub_lbkt_rep(ast, node, lbkt)
sub_lbkt_set(ast, node, lbkt)
sub_args_get(ast, node)
sub_args_rep(ast, node, args)
sub_args_set(ast, node, args)
sub_rbkt_get(ast, node)
sub_rbkt_rep(ast, node, rbkt)
sub_rbkt_set(ast, node, rbkt)