boolean (final boolean oldTest) { SyntaxTreeBuilder.Marker expr = myBuilder.mark(); myBuilder.advanceLexer(); getFunctionParser().parseParameterListContents(PyTokenTypes.COLON, false, true); boolean parseExpressionResult = oldTest ? parseOldTestExpression() : parseSingleExpression(false); if (!parseExpressionResult) { myBuilder.error(message("PARSE.expected.expression")); } expr.done(PyElementTypes.LAMBDA_EXPRESSION); return true; }