Skip to contents
  • idx_new() instantiates a new idx node.

  • idx_type() checks if the node is a idx node.

  • idx_<child>_get() returns the <child> node of idx.

  • 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)

Arguments

ast

AST object

obj

obj node

lbkt

lbkt node

args

args node

rbkt1

rbkt1 node

rbkt2

rbkt2 node

node

idx node