72ffbaa7d7
Rather than representing an assignment differently depending on what kind of construct appears on its left hand side (as kernel does), we represent all assignments as a single `_Write` type, and use an `LValue` base class to represent the different kinds of constructs that can appear on the left hand side. This representation will be easier to expand into supporting more of the Dart language as we expand the testing we want to be able to do in _fe_analyzer_shared. Change-Id: I87b811176b2ba132fb992414c277cf2c6b81e03c Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/193180 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.