dart-sdk/tools/spec_parser
Erik Ernst ae408d3706 Add Dart.g support for class modifiers
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>
2023-02-15 11:37:57 +00:00
..
.gitignore Update spec_parser. 2019-10-25 08:57:44 +00:00
Dart.g Add Dart.g support for class modifiers 2023-02-15 11:37:57 +00:00
Makefile Added pattern grammar rules 2022-10-31 15:39:35 +00:00
OWNERS [spec_parser] Add OWNERS 2022-11-30 14:01:10 +00:00
spec_parse.dart [repo] improve the analysis of the tools/ directory 2022-02-17 19:09:52 +00:00
SpecParser.java Adjust spec parser to use exit code 0 when parsing no files 2022-08-01 23:29:44 +00:00
SpecParserRunner.java