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

Unified Diff: pkg/analysis_server/lib/src/services/completion/dart_completion_cache.dart

Issue 1060713005: rename completion computer to contributor (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: merge Created 5 years, 8 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
Index: pkg/analysis_server/lib/src/services/completion/dart_completion_cache.dart
diff --git a/pkg/analysis_server/lib/src/services/completion/dart_completion_cache.dart b/pkg/analysis_server/lib/src/services/completion/dart_completion_cache.dart
index 17127f7eb9e6e5cc720fd146a7b1b51f3e2f3d31..e7f3600e1975166f992e926fb11f6ebd3cc95cbe 100644
--- a/pkg/analysis_server/lib/src/services/completion/dart_completion_cache.dart
+++ b/pkg/analysis_server/lib/src/services/completion/dart_completion_cache.dart
@@ -127,7 +127,7 @@ class DartCompletionCache extends CompletionCache {
assert(unit.element.source == source);
// Exclude elements from local library
- // because they are provided by LocalComputer
+ // because they are provided by LocalReferenceContributor
Set<LibraryElement> excludedLibs = new Set<LibraryElement>();
excludedLibs.add(unit.element.enclosingElement);
@@ -237,7 +237,7 @@ class DartCompletionCache extends CompletionCache {
});
} else {
// Exclude elements from prefixed imports
- // because they are provided by InvocationComputer
+ // because they are provided by PrefixedElementContributor
_addLibraryPrefixSuggestion(importElem);
excludedLibs.add(importElem.importedLibrary);
}

Powered by Google App Engine
This is Rietveld 408576698