@Override
  public @Nullable PsiElement restoreElement(@NotNull PsiElement anchor) {
    if (anchor instanceof XmlToken token) {
      return token.getTokenType() == XmlTokenType.XML_NAME ? token.getParent() : null;
    }
    return null;
  }
@Override
  public @Nullable PsiElement restoreElement(@NotNull PsiElement anchor)