d06e6956e8
This CL changes Dart.g and Dart.g4 such that the spec parser will parse primary constructors using a simpler and clearer set of rules. In particular, the body part of a primary constructor has been given its own signature (`primaryConstructorBodySignature`), which makes it easier to denote the constructs which are used along with primary constructors, and it also supports a more comprehensible AST structure. Change-Id: I7c211ecd76596927a044bdedc5dec3a7eaf9a8b5 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/460420 Reviewed-by: Chloe Stefantsova <cstefantsova@google.com> Commit-Queue: Erik Ernst <eernst@google.com>