Skip to contents
  • wlp_new() instantiates a new wlp node.

  • wlp_type() checks if the node is a wlp node.

  • wlp_<child>_get() returns the <child> node of wlp.

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

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

Usage

wlp_new(ast, op, cond, body)

wlp_type(ast, node)

wlp_op_get(ast, node)

wlp_op_rep(ast, node, op)

wlp_op_set(ast, node, op)

wlp_cond_get(ast, node)

wlp_cond_rep(ast, node, cond)

wlp_cond_set(ast, node, cond)

wlp_body_get(ast, node)

wlp_body_rep(ast, node, body)

wlp_body_set(ast, node, body)

Arguments

ast

AST object

op

op node

cond

cond node

body

body node

node

wlp node