@Override
    public TreeElement @NotNull [] getChildren() {
      return SyntaxTraverser.psiTraverser(myElement)
          .children(myElement).flatMap(
              ch -> SyntaxTraverser.psiTraverser(ch).expand(psiElement -> !(psiElement instanceof ShFunctionDefinition))
          )
          .filter(ShFunctionDefinition.class)
          .map(Element::new)
          .toArray(new Element[]{});
    }
@Override
    public TreeElement @NotNull [] getChildren()