Skip to contents
  • gap_new() instantiates a new gap node.

  • gap_type() checks if the node is a gap node.

  • gap_<child>_get() returns the <child> node of gap.

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

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

Usage

gap_type(ast, node)

gap_val_get(ast, node)

gap_loc_get(ast, node)

Arguments

ast

AST object

node

gap node