Skip to contents
  • bkt_new() instantiates a new bkt node.

  • bkt_type() checks if the node is a bkt node.

  • bkt_<child>_get() returns the <child> node of bkt.

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

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

Usage

bkt_type(ast, node)

bkt_gap_get(ast, node)

bkt_gap_rep(ast, node, gap)

bkt_gap_set(ast, node, gap)

bkt_loc_get(ast, node)

Arguments

ast

AST object

node

bkt node

gap

gap node