mirror of
https://github.com/dart-lang/sdk
synced 2024-11-02 12:24:24 +00:00
f24c4fa919
This adds support for the generating a synthesized augmentation library for each library in which phase 1 macros were applied. Current implementation piggybacks on the patch library support. The intension is that both patches and augmentations are handled through the same general mechanism. For now, the wording refers to augmentation libraries as patch libraries where the implementation is shared. Testing is extended to verify that the generated classes are included in the resulting AST. Change-Id: Ie0d4cfdc84b55ca87e0014794f14b38e442f08eb Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/233101 Reviewed-by: Jens Johansen <jensj@google.com> Commit-Queue: Johnni Winther <johnniwinther@google.com> |
||
---|---|---|
.. | ||
benchmark/macros | ||
lib/src | ||
test | ||
tool | ||
analysis_options.yaml | ||
analysis_options_no_lints.yaml | ||
LICENSE | ||
OWNERS | ||
PRESUBMIT.py | ||
pubspec.yaml | ||
README.md |
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.