boolean () { final SyntaxTreeBuilder.Marker marker = myBuilder.mark(); if (parseAllowedLiteralExpression()) { marker.done(PyElementTypes.LITERAL_PATTERN); return true; } marker.drop(); return false; }