void (@Nullable PsiBuilder.Marker beforeMarker, Predicate<HtmlParserStackItem> itemFilter) { while (!myItemsStack.isEmpty() && itemFilter.test(myItemsStack.peek())) { myItemsStack.pop().done(myBuilder, beforeMarker, true); } }