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

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

Issue 195483004: Convert the command line dart analyzer to be async. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebase with bleeding_edge Created 6 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/bin/analyzer.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/context/AnalysisResult.java
diff --git a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/context/AnalysisResult.java b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/context/AnalysisResult.java
index 6990293689c694f7252692dff67cc3e2f50e3345..4bcf11f1e96bf4c91f2df4a23fcd2894ad94444c 100644
--- a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/context/AnalysisResult.java
+++ b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/context/AnalysisResult.java
@@ -13,7 +13,6 @@
*/
package com.google.dart.engine.context;
-
/**
* Instances of the class {@code AnalysisResult}
*/
@@ -92,4 +91,13 @@ public class AnalysisResult {
public String getTaskClassName() {
return taskClassName;
}
+
+ /**
+ * Return {@code true} if there is more to be performed after the task that was performed.
+ *
+ * @return {@code true} if there is more to be performed after the task that was performed
+ */
+ public boolean hasMoreWork() {
+ return notices != null;
+ }
}
« no previous file with comments | « no previous file | pkg/analyzer/bin/analyzer.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698