binop_new()
instantiates a newbinop
node.binop_type()
checks if the node is abinop
node.binop_<child>_get()
returns the<child>
node ofbinop
.binop_<child>_set()
sets the new<child>
and deletes the old<child>
.binop_<child>_rep()
sets the new<child>
and returns the old<child>
.
Usage
binop_new(ast, lexpr, op, rexpr)
binop_type(ast, node)
binop_lexpr_get(ast, node)
binop_lexpr_rep(ast, node, lexpr)
binop_lexpr_set(ast, node, lexpr)
binop_op_get(ast, node)
binop_op_rep(ast, node, op)
binop_op_set(ast, node, op)
binop_rexpr_get(ast, node)
binop_rexpr_rep(ast, node, rexpr)
binop_rexpr_set(ast, node, rexpr)