code: final void remove(AbstractCompiler compiler) {
      if (isDetached()) {
        return;
      }
      Node statement = getRemovableNode();
      NodeUtil.deleteNode(statement, compiler);
      statement.removeChildren();
    }
docs: Remove this "potential declaration" completely.
  Usually, this is because the same symbol has already been declared in this file.