Skip to contents
  • nuop_new() instantiates a new nuop node.

  • nuop_type() checks if the node is a nuop node.

  • nuop_<child>_get() returns the <child> node of nuop.

  • nuop_<child>_set() sets the new <child> and deletes the old <child>.

  • nuop_<child>_rep() sets the new <child> and returns the old <child>.

Usage

nuop_new(ast, op)

nuop_type(ast, node)

nuop_op_get(ast, node)

nuop_op_rep(ast, node, op)

nuop_op_set(ast, node, op)

Arguments

ast

AST object

op

op node

node

nuop node