Skip to contents
  • rlp_new() instantiates a new rlp node.

  • rlp_type() checks if the node is a rlp node.

  • rlp_<child>_get() returns the <child> node of rlp.

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

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

Usage

rlp_new(ast, op, body)

rlp_type(ast, node)

rlp_op_get(ast, node)

rlp_op_rep(ast, node, op)

rlp_op_set(ast, node, op)

rlp_body_get(ast, node)

rlp_body_rep(ast, node, body)

rlp_body_set(ast, node, body)

Arguments

ast

AST object

op

op node

body

body node

node

rlp node