Files
sdk/tools
Erik Ernst 5656806517 Update the spec parser to support new();`
This CL changes the spec parser specification (Dart.g and Dart.g4) such
that the grammar allows for the new style of constructor declarations
(such as `new();` and `new name();`). It also adjusts the declaring body
constructor syntax to use the same style (`this();` and `this name();`).
Finally, it updates a few non-terminals to use a naming that avoids the
ambiguity of `classNamePart`. These changes introduce about 5 new
failures when parsing $SDK/tests/language.

Change-Id: I3e6ac9f0782e3bde863a13c93a54a089c93c7e13
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/456640
Reviewed-by: Chloe Stefantsova <cstefantsova@google.com>
Commit-Queue: Erik Ernst <eernst@google.com>
2025-11-03 01:35:25 -08:00
..
2025-10-20 15:58:20 -07:00
2025-07-15 06:19:44 -07:00
2025-07-15 06:19:44 -07:00
2025-05-01 00:34:24 -07:00
2025-05-27 09:27:38 -07:00
2025-05-05 06:40:30 -07:00