Files
sdk/pkg/analyzer_utilities
Paul Berry d48e7dc620 [messages] Consume types from messages.yaml files.
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>
2025-11-25 14:16:01 -08:00
..

A set of utilities used by the tools in several analyzer-related packages.

Not meant to be published.