private @Nullable PsiElement nextChild() {
      if (pos >= myChildren.size()) return null;
      PsiElement child = myChildren.get(pos);
      pos++;
      return child;
    }
private @Nullable PsiElement nextChild()