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

Unified Diff: pkg/analyzer/lib/src/task/html_work_manager.dart

Issue 1343283004: Support for NAVIGATION/OCCURRENCES notifications for any source (such as HTML). (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 3 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/analysis_server/lib/src/analysis_server.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/task/html_work_manager.dart
diff --git a/pkg/analyzer/lib/src/task/html_work_manager.dart b/pkg/analyzer/lib/src/task/html_work_manager.dart
index faedfb25f7e97d72fc9ecaaf027c23d9a86950aa..218b48ae27e80195fbb9c7fcfea781354751aa59 100644
--- a/pkg/analyzer/lib/src/task/html_work_manager.dart
+++ b/pkg/analyzer/lib/src/task/html_work_manager.dart
@@ -18,7 +18,6 @@ import 'package:analyzer/src/generated/engine.dart'
import 'package:analyzer/src/generated/error.dart';
import 'package:analyzer/src/generated/source.dart';
import 'package:analyzer/src/generated/utilities_collection.dart';
-import 'package:analyzer/src/task/driver.dart';
import 'package:analyzer/src/task/html.dart';
import 'package:analyzer/task/html.dart';
import 'package:analyzer/task/model.dart';
@@ -133,12 +132,10 @@ class HtmlWorkManager implements WorkManager {
// Try to find a new HTML file to analyze.
while (sourceQueue.isNotEmpty) {
Source htmlSource = sourceQueue.first;
- // Maybe done with this library.
if (!_needsComputing(htmlSource, HTML_ERRORS)) {
sourceQueue.remove(htmlSource);
continue;
}
- // Analyze this library.
return new TargetedResult(htmlSource, HTML_ERRORS);
}
// No results to compute.
« no previous file with comments | « pkg/analysis_server/lib/src/analysis_server.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698