Skip to contents
  • iecond_new() instantiates a new iecond node.

  • iecond_type() checks if the node is a iecond node.

  • iecond_<child>_get() returns the <child> node of iecond.

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

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

Usage

iecond_new(ast, iop, cond, ibody, eop, ebody)

iecond_type(ast, node)

iecond_iop_get(ast, node)

iecond_iop_rep(ast, node, iop)

iecond_iop_set(ast, node, iop)

iecond_cond_get(ast, node)

iecond_cond_rep(ast, node, cond)

iecond_cond_set(ast, node, cond)

iecond_ibody_get(ast, node)

iecond_ibody_rep(ast, node, ibody)

iecond_ibody_set(ast, node, ibody)

iecond_eop_get(ast, node)

iecond_eop_rep(ast, node, eop)

iecond_eop_set(ast, node, eop)

iecond_ebody_get(ast, node)

iecond_ebody_rep(ast, node, ebody)

iecond_ebody_set(ast, node, ebody)

Arguments

ast

AST object

iop

iop node

cond

cond node

ibody

ibody node

eop

eop node

ebody

ebody node

node

iecond node