void () { assert atToken(PyTokenTypes.LPAR); SyntaxTreeBuilder.Marker mark = myBuilder.mark(); nextToken(); registerConsumedBracket(PyTokenTypes.LPAR); parseCommaSeparatedPatterns(this::parseClassPatternArgument); if (checkMatches(PyTokenTypes.RPAR, PyParsingBundle.message("PARSE.expected.rpar"))) { registerConsumedBracket(PyTokenTypes.RPAR); } mark.done(PyElementTypes.PATTERN_ARGUMENT_LIST); }