9eb5544ec1
This change restores `parseParenthesizedExpressionOrRecordLiteral`, `parseArguments`, and `parseArgumentsRest` to the way they looked prior to adding parser support, and instead adds new methods `parseParenthesizedPatternOrRecordPattern` and `parseExtractorPatternRest` that are specialized for patterns parsing. Bug: https://github.com/dart-lang/sdk/issues/50035 Change-Id: I104e031a796ef7f217cd427e1a9ae94a04dafa7b Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/261620 Commit-Queue: Paul Berry <paulberry@google.com> Reviewed-by: Jens Johansen <jensj@google.com>