node ~loc ~env parents current_node returns a location indicating which portion of the buffer must be replaced and the string to replace it with.
node ~loc ~env parents current_node