mirror of
https://github.com/dart-lang/sdk
synced 2024-10-14 14:13:09 +00:00
ae408d3706
This CL adds/changes the specification grammar to support the upcoming 'class modifiers' feature. Also, it changes the rule about `superclass` to agree with the language specification (it is easy to see that it derives the same set of programs). Also introduces a non-terminal `otherIdentifier` listing those words which are not reserved, not built-in, but are still explicitly mentioned in grammar (e.g., `show`, `on`, and others). This is safer than maintaining a repeated list of words multiple places in the grammar. Change-Id: I23dc303f9f9a06a665e19f375fe23378042434c2 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/283183 Reviewed-by: William Hesse <whesse@google.com> Commit-Queue: Erik Ernst <eernst@google.com> |
||
---|---|---|
.. | ||
.gitignore | ||
Dart.g | ||
Makefile | ||
OWNERS | ||
spec_parse.dart | ||
SpecParser.java | ||
SpecParserRunner.java |