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

Unified Diff: pkg/analyzer/lib/src/task/dart.dart

Issue 1000203004: Rename ListToX inputs. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 9 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 | « no previous file | pkg/analyzer/lib/src/task/inputs.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/lib/src/task/dart.dart
diff --git a/pkg/analyzer/lib/src/task/dart.dart b/pkg/analyzer/lib/src/task/dart.dart
index a31fe9ac5b09e1d8ce4df5b4bbb3ccb6ee677f24..8cfcc8ed466c7ccd1f8d7b3ea388fa7fe22f4fb1 100644
--- a/pkg/analyzer/lib/src/task/dart.dart
+++ b/pkg/analyzer/lib/src/task/dart.dart
@@ -347,19 +347,21 @@ class BuildDirectiveElementsTask extends SourceBasedAnalysisTask {
return <String, TaskInput>{
RESOLVED_UNIT2_INPUT_NAME: RESOLVED_UNIT2.inputFor(target),
IMPORTS_LIBRARY_ELEMENT1_INPUT_NAME:
- new MapBasedTaskInput<Source, LibraryElement>(
+ new ListToMapTaskInput<Source, LibraryElement>(
IMPORTED_LIBRARIES.inputFor(target),
(Source source) => LIBRARY_ELEMENT1.inputFor(source)),
EXPORTS_LIBRARY_ELEMENT1_INPUT_NAME:
- new MapBasedTaskInput<Source, LibraryElement>(
+ new ListToMapTaskInput<Source, LibraryElement>(
EXPORTED_LIBRARIES.inputFor(target),
(Source source) => LIBRARY_ELEMENT1.inputFor(source)),
- IMPORTS_SOURCE_KIND_INPUT_NAME: new MapBasedTaskInput<Source, SourceKind>(
- IMPORTED_LIBRARIES.inputFor(target),
- (Source source) => SOURCE_KIND.inputFor(source)),
- EXPORTS_SOURCE_KIND_INPUT_NAME: new MapBasedTaskInput<Source, SourceKind>(
- EXPORTED_LIBRARIES.inputFor(target),
- (Source source) => SOURCE_KIND.inputFor(source))
+ IMPORTS_SOURCE_KIND_INPUT_NAME:
+ new ListToMapTaskInput<Source, SourceKind>(
+ IMPORTED_LIBRARIES.inputFor(target),
+ (Source source) => SOURCE_KIND.inputFor(source)),
+ EXPORTS_SOURCE_KIND_INPUT_NAME:
+ new ListToMapTaskInput<Source, SourceKind>(
+ EXPORTED_LIBRARIES.inputFor(target),
+ (Source source) => SOURCE_KIND.inputFor(source))
};
}
@@ -641,7 +643,7 @@ class BuildLibraryElementTask extends SourceBasedAnalysisTask {
DEFINING_RESOLVER_UNIT1_INPUT_NAME:
new SimpleTaskInput(target, RESOLVED_UNIT1),
PARTS_RESOLVED_UNIT1_INPUT_NAME:
- new ListBasedTaskInput<Source, CompilationUnit>(
+ new ListToListTaskInput<Source, CompilationUnit>(
INCLUDED_PARTS.inputFor(target),
(Source source) => RESOLVED_UNIT1.inputFor(source))
};
« no previous file with comments | « no previous file | pkg/analyzer/lib/src/task/inputs.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698