boolean () { SyntaxTreeBuilder.Marker mark = myBuilder.mark(); CommaSeparation result = parseCommaSeparatedPatterns(this::parsePattern); if (result != CommaSeparation.NO_ELEMENTS) { if (result == CommaSeparation.EXISTS) { mark.done(PyElementTypes.SEQUENCE_PATTERN); } else { mark.drop(); } return true; } mark.drop(); return false; }