boolean () { if (atToken(PyTokenTypes.IDENTIFIER)) { SyntaxTreeBuilder.Marker mark = myBuilder.mark(); parseReferenceExpression(); if (!atToken(PyTokenTypes.LPAR)) { mark.rollbackTo(); return false; } parseClassPatternArgumentList(); mark.done(PyElementTypes.CLASS_PATTERN); return true; } return false; }