void (PsiBuilder builder) { PsiBuilder.Marker listMarker = builder.mark(); PsiBuilder.Marker marker = builder.mark(); builder.advanceLexer(); marker.done(RestTokenTypes.FIELD); if (parseLineText(builder, builder.getTokenType())) { listMarker.done(RestElementTypes.FIELD_LIST); } else { listMarker.drop(); } }