@Override
      public void visitDomElement(final DomElement element) {
        if (element instanceof GenericDomValue) return;
        final DomService.StructureViewMode viewMode = myDescriptor.fun(element);
        switch (viewMode) {
          case SHOW -> result.add(createChildElement(element));
          case SHOW_CHILDREN -> DomUtil.acceptAvailableChildren(element, this);
          case SKIP -> {}
        }
      }
@Override
      public void visitDomElement(final DomElement element)