Move WorkspacePackage into analyzer public API #60725
Labels
analyzer-api
Issues that impact the public API of the analyzer package
area-dart-model
For issues related to conformance to the language spec in the parser, compilers or the CLI analyzer.
As part of moving LintRule and it's dependencies into public API (#50986), I see that we expose
WorkspacePackage
, and intentionally. Lint rules use it to figure out if a file is in public API, or if it's in thelib/
directory, etc.So I'd like to move
WorkspacePackage
into public API. Luckily, we can extract a very small subset of the class, into a new classWorkspacePackage
, and rename the private impl codeWorkspacePackageImpl
.Here's a draft CL: https://dart-review.googlesource.com/c/sdk/+/428564
Here are the new bits in
api.txt
, quite minimal:The text was updated successfully, but these errors were encountered: