dpar_new()
instantiates a newdpar
node.dpar_type()
checks if the node is adpar
node.dpar_<child>_get()
returns the<child>
node ofdpar
.dpar_<child>_set()
sets the new<child>
and deletes the old<child>
.dpar_<child>_rep()
sets the new<child>
and returns the old<child>
.
Usage
dpar_new(ast, name, op, expr)
dpar_type(ast, node)
dpar_name_get(ast, node)
dpar_name_rep(ast, node, name)
dpar_name_set(ast, node, name)
dpar_op_get(ast, node)
dpar_op_rep(ast, node, op)
dpar_op_set(ast, node, op)
dpar_expr_get(ast, node)
dpar_expr_rep(ast, node, expr)
dpar_expr_set(ast, node, expr)