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

Unified Diff: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/context/InternalAnalysisContext.java

Issue 332993006: Implemented analysis.setPrioritySource (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments Created 6 years, 6 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: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/context/InternalAnalysisContext.java
diff --git a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/context/InternalAnalysisContext.java b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/context/InternalAnalysisContext.java
index b418a01055fbeb8869e2762e1566c4b4adb73a52..2f5722e1eb4d77e6a69e0adcbde08ce46e96590a 100644
--- a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/context/InternalAnalysisContext.java
+++ b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/context/InternalAnalysisContext.java
@@ -87,6 +87,14 @@ public interface InternalAnalysisContext extends AnalysisContext {
InternalAnalysisContext newContext);
/**
+ * Return an array containing all of the sources that have been marked as priority sources.
+ * Clients must not modify the returned array.
+ *
+ * @return the sources that have been marked as priority sources
+ */
+ public Source[] getPrioritySources();
+
+ /**
* Return a namespace containing mappings for all of the public names defined by the given
* library.
*

Powered by Google App Engine
This is Rietveld 408576698