dart-sdk/pkg
Dan Rubel 729e7b2920 Refactor fasta parser modifier recovery
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>
2018-01-10 14:30:38 +00:00
..
analysis_server
analysis_server_client
analyzer Refactor fasta parser modifier recovery 2018-01-10 14:30:38 +00:00
analyzer_cli
analyzer_plugin
async_helper
browser
compiler
dart_internal
dart_messages
dev_compiler
expect
front_end Refactor fasta parser modifier recovery 2018-01-10 14:30:38 +00:00
js
js_ast
kernel
meta
microlytics
sourcemap_testing
status_file
telemetry
testing
typed_mock
vm
.gitignore
BUILD.gn
pkg.status Skip resynthesize_kernel_test for now, until the timeout issue is solved 2018-01-10 08:30:18 +00:00