Skip to contents
  • err_new() instantiates a new err node.

  • err_type() checks if the node is a err node.

  • err_<child>_get() returns the <child> node of err.

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

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

Usage

err_type(ast, node)

err_msg_get(ast, node)

err_loc_get(ast, node)

Arguments

ast

AST object

node

err node