0e9487d6f8
Changes the logic in `pkg/linter/tool/machine.dart` and `pkg/linter/tool/messages_info.dart` so that rather than parsing the linter's `messages.yaml` file directly, it uses the shared infrastructure in `pkg/analyzer_utilities` to read it. This required adding a new `LintMessage` class to `pkg/analyzer_utilities`, along with logic to validate and interpret the linter message fields `categories`, `deprecatedDetails`, and `state`. The corresponding logic in `pkg/linter/tool/messages_info.dart` has been simplified accordingly. This paves the way for upcoming `messages.yaml` format changes, ensuring that those format changes won't break the logic in `pkg/linter/tool/messages_info.dart`. Change-Id: I6a6a696445a1fb599970ac4382d458fb31f1944d Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/466442 Reviewed-by: Samuel Rawlins <srawlins@google.com> Commit-Queue: Paul Berry <paulberry@google.com>
A set of utilities used by the tools in several analyzer-related packages.
Not meant to be published.