Skip to contents
  • parg_new() instantiates a new parg node.

  • parg_type() checks if the node is a parg node.

  • parg_<child>_get() returns the <child> node of parg.

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

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

Usage

parg_new(ast, expr)

parg_type(ast, node)

parg_expr_get(ast, node)

parg_expr_rep(ast, node, expr)

parg_expr_set(ast, node, expr)

Arguments

ast

AST object

expr

expr node

node

parg node