Skip to contents
  • icond_new() instantiates a new icond node.

  • icond_type() checks if the node is a icond node.

  • icond_<child>_get() returns the <child> node of icond.

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

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

Usage

icond_new(ast, iop, cond, ibody)

icond_type(ast, node)

icond_iop_get(ast, node)

icond_iop_rep(ast, node, iop)

icond_iop_set(ast, node, iop)

icond_cond_get(ast, node)

icond_cond_rep(ast, node, cond)

icond_cond_set(ast, node, cond)

icond_ibody_get(ast, node)

icond_ibody_rep(ast, node, ibody)

icond_ibody_set(ast, node, ibody)

Arguments

ast

AST object

iop

iop node

cond

cond node

ibody

ibody node

node

icond node