mirror of
https://github.com/dart-lang/sdk
synced 2024-11-02 06:20:13 +00:00
729e7b2920
This CL extracts parsing modifiers from parsing types so that parseModifiers just parses modifiers and a separate call is made to parseType. * Discard the ModifierContext object sooner * Remove some places where findMemberName output was being used to determine which modifiers are present. Currently, modifiers are parsed once by findMemberName, again by parseModifiers, and sometimes a third time by isFactoryDeclaration. This CL sets the stage for improved modifier recovery and parsing modifiers exactly once. Change-Id: Ieb8cd1156ed090ca4653258bd40afbac843b9b7c Reviewed-on: https://dart-review.googlesource.com/33500 Reviewed-by: Peter von der Ahé <ahe@google.com> |
||
---|---|---|
.. | ||
analysis_server | ||
analysis_server_client | ||
analyzer | ||
analyzer_cli | ||
analyzer_plugin | ||
async_helper | ||
browser | ||
compiler | ||
dart_internal | ||
dart_messages | ||
dev_compiler | ||
expect | ||
front_end | ||
js | ||
js_ast | ||
kernel | ||
meta | ||
microlytics | ||
sourcemap_testing | ||
status_file | ||
telemetry | ||
testing | ||
typed_mock | ||
vm | ||
.gitignore | ||
BUILD.gn | ||
pkg.status |