Skip to contents
  • beg_new() instantiates a new beg node.

  • beg_type() checks if the node is a beg node.

  • beg_<child>_get() returns the <child> node of beg.

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

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

Usage

beg_type(ast, node)

beg_bom_get(ast, node)

beg_loc_get(ast, node)

Arguments

ast

AST object

node

beg node