[analyzer,cfe] Add support for macro class

This CL add the 'macros' experiment and adds support for the `macro`
modifier on class declarations. This is part of the prototyping of
the static meta-programming feature.

Change-Id: Ie4b8c5443fda3813307ea076c315baad6a90c3e9
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/224205
Reviewed-by: Chloe Stefantsova <cstefantsova@google.com>
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
This commit is contained in:
Johnni Winther
2021-12-21 10:45:59 +00:00
parent 2b35b8f770
commit 8cdc0e6474
233 changed files with 2174 additions and 1284 deletions
+3
View File
@@ -131,6 +131,9 @@ features:
super-parameters:
help: "Super-Initializer Parameters"
macros:
help: "Static meta-programming"
# Experiment flag only used for testing.
test-experiment:
help: >-