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

Unified Diff: pkg/analyzer/lib/src/dart/analysis/library_context.dart

Issue 2678193002: Not task based analysis. (Closed)
Patch Set: Created 3 years, 10 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/analyzer/lib/src/dart/analysis/library_context.dart
diff --git a/pkg/analyzer/lib/src/dart/analysis/library_context.dart b/pkg/analyzer/lib/src/dart/analysis/library_context.dart
index 5c49a3c5fad4720c4240e37a980b9a808d244183..2938decad6399df1b6d530df66f9ef585c566e0c 100644
--- a/pkg/analyzer/lib/src/dart/analysis/library_context.dart
+++ b/pkg/analyzer/lib/src/dart/analysis/library_context.dart
@@ -29,6 +29,8 @@ import 'package:analyzer/task/dart.dart' show LibrarySpecificUnit;
* TODO(paulberry): make a front end API that this can make use of instead.
*/
class LibraryContext {
+ final SummaryDataStore store;
+
/**
* The [AnalysisContext] which is used to do the analysis.
*/
@@ -123,11 +125,11 @@ class LibraryContext {
var analysisContext = _createAnalysisContext(
options, declaredVariables, sourceFactory, fileTracker, store);
- return new LibraryContext._(analysisContext);
+ return new LibraryContext._(store, analysisContext);
});
}
- LibraryContext._(this._analysisContext);
+ LibraryContext._(this.store, this._analysisContext);
/**
* Computes a [CompilationUnitElement] for the given library/unit pair.

Powered by Google App Engine
This is Rietveld 408576698