void () { PsiBuilder.Marker marker = mark(); passJunk(); if (myBuilder.getTokenType() != DOCUMENT_MARKER) { dropEolMarker(); marker.rollbackTo(); } else { marker.drop(); } do { parseDocument(); passJunk(); } while (!myBuilder.eof()); dropEolMarker(); }