53deaf0522
This adds parser support for the optional 'const' keyword in extension type declaration. The token is passed on through the endPrimaryConstructor listener call since it is used to make the primary constructor constant. Change-Id: I518a8e397fb62272002c424e7b69affe6123f4af Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/316221 Commit-Queue: Johnni Winther <johnniwinther@google.com> Reviewed-by: Chloe Stefantsova <cstefantsova@google.com> Reviewed-by: Konstantin Shcheglov <scheglov@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.