Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(24)

Unified Diff: pkg/analyzer/lib/src/generated/incremental_resolver.dart

Issue 2229603003: Extract unresolved AST parsing (PARSED_UNIT1) from full parsing, which includes UriBasedDirective(s… (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Update task graph. Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/analyzer/lib/src/context/context.dart ('k') | pkg/analyzer/lib/src/plugin/engine_plugin.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/lib/src/generated/incremental_resolver.dart
diff --git a/pkg/analyzer/lib/src/generated/incremental_resolver.dart b/pkg/analyzer/lib/src/generated/incremental_resolver.dart
index 274b7a1cb36d8d18572dec63aeea0b9eb6fd2abd..41fa44f637b04f6a24712da5537293c6632cb2d2 100644
--- a/pkg/analyzer/lib/src/generated/incremental_resolver.dart
+++ b/pkg/analyzer/lib/src/generated/incremental_resolver.dart
@@ -118,6 +118,7 @@ class IncrementalBodyDelta extends Delta {
isByTask(PropagateVariableTypeTask.DESCRIPTOR) ||
isByTask(ScanDartTask.DESCRIPTOR) ||
isByTask(ResolveConstantExpressionTask.DESCRIPTOR) ||
+ isByTask(ResolveDirectivesTask.DESCRIPTOR) ||
isByTask(ResolveDirectiveElementsTask.DESCRIPTOR) ||
isByTask(ResolveInstanceFieldsInUnitTask.DESCRIPTOR) ||
isByTask(ResolveLibraryReferencesTask.DESCRIPTOR) ||
@@ -876,7 +877,9 @@ class PoorMansIncrementalResolver {
_sourceEntry.setValueIncremental(LINE_INFO, _newLineInfo, false);
// parse results
_sourceEntry.setValueIncremental(PARSE_ERRORS, _newParseErrors, true);
+ _sourceEntry.setValueIncremental(PARSED_UNIT1, _oldUnit, false);
_sourceEntry.setValueIncremental(PARSED_UNIT, _oldUnit, false);
+ _sourceEntry.setValueIncremental(RESOLVE_DIRECTIVES_ERRORS, _newParseErrors, true);
// referenced names
ReferencedNames referencedNames = new ReferencedNames(_unitSource);
new ReferencedNamesBuilder(referencedNames).build(_oldUnit);
« no previous file with comments | « pkg/analyzer/lib/src/context/context.dart ('k') | pkg/analyzer/lib/src/plugin/engine_plugin.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698