dart-sdk/pkg/analyzer_utilities/lib
Sam Rawlins 49a3fb4f96 [analyzer] Separate the HTML parser utility from the DOM
With the parser code in the same library as the DOM classes, the
`pkg/analyzer/tool/messages/generate.dart` program, which generates all
of the diagnostic classes and diagnostics, _depends_ on a library
with a `parse` method which depends on these diagnostic classes (in
order to report errors while parsing HTML). This means that if
there is any existing error (like an unknown identifier) in the
existing error codes, it is impossible to generate the error codes.

Since we don't need the `parse` method to generate diagnostics, we
split up the library and remove the indirect dependency.

Separating the parser code out removes the loop.

Change-Id: Ifb9e9fd979e341ae64a1ed49aaf3758d3dcf1dee
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/287220
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Samuel Rawlins <srawlins@google.com>
2023-03-08 03:06:19 +00:00
..
testing analyzer_utilities: tidy static analysis 2022-11-28 18:11:03 +00:00
html_dom.dart [analyzer] Separate the HTML parser utility from the DOM 2023-03-08 03:06:19 +00:00
html_generator.dart Add a lightweight parser for the analyzer spec (remove sdk deps on package:html). 2022-06-25 00:34:40 +00:00
html_parser.dart [analyzer] Separate the HTML parser utility from the DOM 2023-03-08 03:06:19 +00:00
package_root.dart Support for google3 locations in 'packageRoot' and KernelCompilationService. 2022-04-25 19:46:13 +00:00
text_formatter.dart [analysis_server] minor cleanups to analysis server spec generation 2022-06-27 17:21:02 +00:00
tools.dart Remove some unnecessary ignore comments in analyzer packages 2022-12-09 21:33:18 +00:00
verify_tests.dart Automate checking for solo tests 2023-03-06 22:53:37 +00:00