code: private int getEffectiveSiblingPosition(JMFType child) {
      JMFType parent = child.getParent();
      while (parent instanceof JSRepeated) {
        child = parent;
        parent = child.getParent();
      }
      return child.getSiblingPosition();
    }
docs: (skipping over intervening JSRepeateds).