2d367c803e
Previously, NamedFunctionParameter was derived from NamedType. This avoided a tiny amount of code duplication, but the benefit was really tiny. Decoupling the two classes simplifies the implementation of a follow-up CL that I have in progress, which will allow the mini_types framework to represent function types. Change-Id: I29bff36ab76bbf344cf7204f2503b006a88a4cf8 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/395422 Reviewed-by: Kallen Tu <kallentu@google.com> Commit-Queue: Paul Berry <paulberry@google.com>
FE/analyzer shared code
This package contains logic that is shared between the front_end and analyzer packages. It is intended solely to facilitate development of the Dart SDK, and is not intended for use by end users. In particular, this package has no public API, so no guarantee is made of compatibility between one version of the package and the next.
End users should consider using the analyzer package to analyze Dart source code.