narg_new()
instantiates a newnarg
node.narg_type()
checks if the node is anarg
node.narg_<child>_get()
returns the<child>
node ofnarg
.narg_<child>_set()
sets the new<child>
and deletes the old<child>
.narg_<child>_rep()
sets the new<child>
and returns the old<child>
.
Usage
narg_new(ast, name, op, expr)
narg_type(ast, node)
narg_name_get(ast, node)
narg_name_rep(ast, node, name)
narg_name_set(ast, node, name)
narg_op_get(ast, node)
narg_op_rep(ast, node, op)
narg_op_set(ast, node, op)
narg_expr_get(ast, node)
narg_expr_rep(ast, node, expr)
narg_expr_set(ast, node, expr)