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

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

Issue 732093003: add ContextsChangedEvent (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: address comments Created 6 years, 1 month 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/analysis_server/test/analysis_server_test.dart ('k') | no next file » | 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 82e9fb9db23ad1bf13c35157ee2729049f3633c9..33ca5de59c5f5a1bcd883ca360da6581ac1b295b 100644
--- a/pkg/analyzer/lib/src/generated/engine.dart
+++ b/pkg/analyzer/lib/src/generated/engine.dart
@@ -284,6 +284,12 @@ class AnalysisCache {
* proposed future state, such as the state after a refactoring.
*/
abstract class AnalysisContext {
+
+ /**
+ * An empty list of contexts.
+ */
+ static const List<AnalysisContext> EMPTY_LIST = const <AnalysisContext>[];
+
/**
* Add the given listener to the list of objects that are to be notified when various analysis
* results are produced in this context.
« no previous file with comments | « pkg/analysis_server/test/analysis_server_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698