idx_new()
instantiates a newidx
node.idx_type()
checks if the node is aidx
node.idx_<child>_get()
returns the<child>
node ofidx
.idx_<child>_set()
sets the new<child>
and deletes the old<child>
.idx_<child>_rep()
sets the new<child>
and returns the old<child>
.
Usage
idx_new(ast, obj, lbkt, args, rbkt1, rbkt2)
idx_type(ast, node)
idx_obj_get(ast, node)
idx_obj_rep(ast, node, obj)
idx_obj_set(ast, node, obj)
idx_lbkt_get(ast, node)
idx_lbkt_rep(ast, node, lbkt)
idx_lbkt_set(ast, node, lbkt)
idx_args_get(ast, node)
idx_args_rep(ast, node, args)
idx_args_set(ast, node, args)
idx_rbkt1_get(ast, node)
idx_rbkt1_rep(ast, node, rbkt1)
idx_rbkt1_set(ast, node, rbkt1)
idx_rbkt2_get(ast, node)
idx_rbkt2_rep(ast, node, rbkt2)
idx_rbkt2_set(ast, node, rbkt2)