Skip to contents
  • end_new() instantiates a new end node.

  • end_type() checks if the node is a end node.

  • end_<child>_get() returns the <child> node of end.

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

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

Usage

end_new(ast, gap, loc)

end_type(ast, node)

end_gap_get(ast, node)

end_gap_rep(ast, node, gap)

end_gap_set(ast, node, gap)

end_loc_get(ast, node)

Arguments

ast

AST object

gap

gap node

node

end node