Skip to contents
  • null_new() instantiates a new null node.

  • null_type() checks if the node is a null node.

  • null_<child>_get() returns the <child> node of null.

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

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

Usage

null_new(ast, gap, loc)

null_type(ast, node)

null_gap_get(ast, node)

null_gap_rep(ast, node, gap)

null_gap_set(ast, node, gap)

null_loc_get(ast, node)

Arguments

ast

AST object

gap

gap node

node

null node