4d06516832
This is a simple string-based intermediate representation for Dart code, similar to kernel but with a far simpler structure and a compact string encoding, suitable for use in unit tests. I've integrated this representation into mini_ast.dart in a preliminary way, so it is created as a by-product of running flow analysis tests. But as yet there are no tests that validate the correctness of the result. I plan to refine the representation, and test it fully, in follow-up CLs. Change-Id: Idda527efd005d0199ff88861c9e074eb651d82f0 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/193881 Reviewed-by: Konstantin Shcheglov <scheglov@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.