code: function executeNodeAction(action, renderer, parent, node, beforeNode) {
      if (action === 0 /* Insert */) {
          isProceduralRenderer(renderer) ?
              renderer.insertBefore(parent, node, beforeNode) :
              parent.insertBefore(node, beforeNode, true);
      }
      else if (action === 1 /* Detach */) {
          isProceduralRenderer(renderer) ?
              renderer.removeChild(parent, node) :
              parent.removeChild(node);
      }
      else if (action === 2 /* Destroy */) {
          ngDevMode && ngDevMode.rendererDestroyNode++;
          renderer.destroyNode(node);
      }
  }
docs: NOTE: for performance reasons, the possible actions are inlined within the function instead of
  being passed as an argument.