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

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

Issue 1131063004: Remove unused InternalAnalysisContext.addSourceInfo(). (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 7 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/test/generated/engine_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/lib/src/generated/engine.dart
diff --git a/pkg/analyzer/lib/src/generated/engine.dart b/pkg/analyzer/lib/src/generated/engine.dart
index 32410b7f1c118ab154dcd5a217245859226dec2e..316182b5feb2d6223f85708d286cacee207c0028 100644
--- a/pkg/analyzer/lib/src/generated/engine.dart
+++ b/pkg/analyzer/lib/src/generated/engine.dart
@@ -1464,14 +1464,6 @@ class AnalysisContextImpl implements InternalAnalysisContext {
}
@override
- void addSourceInfo(Source source, SourceEntry info) {
- // This implementation assumes that the access to the cache does not need to
- // be synchronized because no other object can have access to this context
- // while this method is being invoked.
- _cache.put(source, info);
- }
-
- @override
void applyAnalysisDelta(AnalysisDelta delta) {
ChangeSet changeSet = new ChangeSet();
delta.analysisLevels.forEach((Source source, AnalysisLevel level) {
@@ -9078,11 +9070,6 @@ abstract class InternalAnalysisContext implements AnalysisContext {
TypeResolverVisitorFactory get typeResolverVisitorFactory;
/**
- * Add the given [source] with the given [information] to this context.
- */
- void addSourceInfo(Source source, SourceEntry information);
-
- /**
* Return a list containing the sources of the libraries that are exported by
* the library with the given [source]. The list will be empty if the given
* source is invalid, if the given source does not represent a library, or if
« no previous file with comments | « pkg/analyzer/lib/src/context/context.dart ('k') | pkg/analyzer/test/generated/engine_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698