cond_new()
instantiates a newcond
node.cond_type()
checks if the node is acond
node.cond_<child>_get()
returns the<child>
node ofcond
.cond_<child>_set()
sets the new<child>
and deletes the old<child>
.cond_<child>_rep()
sets the new<child>
and returns the old<child>
.
Usage
cond_new(ast, lbkt, expr, rbkt)
cond_type(ast, node)
cond_lbkt_get(ast, node)
cond_lbkt_rep(ast, node, lbkt)
cond_lbkt_set(ast, node, lbkt)
cond_expr_get(ast, node)
cond_expr_rep(ast, node, expr)
cond_expr_set(ast, node, expr)
cond_rbkt_get(ast, node)
cond_rbkt_rep(ast, node, rbkt)
cond_rbkt_set(ast, node, rbkt)