ea9b19c2c4
This CL adds support for flow analysis with variable patterns and guards, and integrates it with if-case elements, if-case statements, pattern variable declarations, switch expressions, and switch statements. It includes support for guards. No other types of patterns are handled yet. Bug: https://github.com/dart-lang/sdk/issues/50419 Change-Id: Iacad82b472cba0e2e670981847258e4046017576 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/274162 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.