d48e7dc620
Now that all diagnostic codes in analyzer-style `messages.yaml` files have a `type:` entry, it can safely be used to determine the diagnostic's type. This replaces the old logic that inferred diagnostic types from the diagnostic's class name (diagnostics under the heading `CompileTimeErrorCode` have type `compileTimeError`, those under `StaticWarningCode` have type `staticWarning`, etc). This paves the way for removing the notion of diagnostic code class entirely. Change-Id: I6a6a69646fdcaccaef6f8c32a1ebf303a54548d8 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/464283 Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
A set of utilities used by the tools in several analyzer-related packages.
Not meant to be published.