87f0d5d9dc
Although these error conditions are not reported by the parser, the language grammar does not permit them, so from a customer perspective they are parser errors. Accordingly, they have been assigned ParserErrorCodes and reported by the AstBuilder, as we do for other similar errors. Change-Id: I79d0ad1dcad518981b8b649c117df326279008f7 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/157800 Commit-Queue: Paul Berry <paulberry@google.com> Reviewed-by: Konstantin Shcheglov <scheglov@google.com> Reviewed-by: Brian Wilkerson <brianwilkerson@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.