           else
                [new_node, parent]
              end
            end
          end

          def on_enum_with_modifications(node, parent)
            new_node_and_new_parent = on_enum(node, parent)
            apply_modifications(node, parent, new_node_and_new_parent)
          end
