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

Side by Side Diff: pkg/analysis_server/lib/src/analysis_server.dart

Issue 2942753002: Enable 'analysis.implemented' with the new analysis driver. (Closed)
Patch Set: Created 3 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 unified diff | Download patch
« no previous file with comments | « no previous file | pkg/analysis_server/lib/src/operation/operation_analysis.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 import 'dart:async'; 5 import 'dart:async';
6 import 'dart:collection'; 6 import 'dart:collection';
7 import 'dart:core'; 7 import 'dart:core';
8 import 'dart:io' as io; 8 import 'dart:io' as io;
9 import 'dart:math' show max; 9 import 'dart:math' show max;
10 10
(...skipping 1275 matching lines...) Expand 10 before | Expand all | Expand 10 after
1286 if (_onAnalysisCompleteCompleter != null && !status.isAnalyzing) { 1286 if (_onAnalysisCompleteCompleter != null && !status.isAnalyzing) {
1287 _onAnalysisCompleteCompleter.complete(); 1287 _onAnalysisCompleteCompleter.complete();
1288 _onAnalysisCompleteCompleter = null; 1288 _onAnalysisCompleteCompleter = null;
1289 } 1289 }
1290 // Perform on-idle actions. 1290 // Perform on-idle actions.
1291 if (!status.isAnalyzing) { 1291 if (!status.isAnalyzing) {
1292 if (generalAnalysisServices 1292 if (generalAnalysisServices
1293 .contains(GeneralAnalysisService.ANALYZED_FILES)) { 1293 .contains(GeneralAnalysisService.ANALYZED_FILES)) {
1294 sendAnalysisNotificationAnalyzedFiles(this); 1294 sendAnalysisNotificationAnalyzedFiles(this);
1295 } 1295 }
1296 _scheduleAnalysisImplementedNotification();
1296 } 1297 }
1297 // Only send status when subscribed. 1298 // Only send status when subscribed.
1298 if (!serverServices.contains(ServerService.STATUS)) { 1299 if (!serverServices.contains(ServerService.STATUS)) {
1299 return; 1300 return;
1300 } 1301 }
1301 // Only send status when it changes 1302 // Only send status when it changes
1302 if (statusAnalyzing == status.isAnalyzing) { 1303 if (statusAnalyzing == status.isAnalyzing) {
1303 return; 1304 return;
1304 } 1305 }
1305 statusAnalyzing = status.isAnalyzing; 1306 statusAnalyzing = status.isAnalyzing;
(...skipping 1095 matching lines...) Expand 10 before | Expand all | Expand 10 after
2401 /** 2402 /**
2402 * The [PerformanceTag] for time spent in server request handlers. 2403 * The [PerformanceTag] for time spent in server request handlers.
2403 */ 2404 */
2404 static PerformanceTag serverRequests = server.createChild('requests'); 2405 static PerformanceTag serverRequests = server.createChild('requests');
2405 2406
2406 /** 2407 /**
2407 * The [PerformanceTag] for time spent in split store microtasks. 2408 * The [PerformanceTag] for time spent in split store microtasks.
2408 */ 2409 */
2409 static PerformanceTag splitStore = new PerformanceTag('splitStore'); 2410 static PerformanceTag splitStore = new PerformanceTag('splitStore');
2410 } 2411 }
OLDNEW
« no previous file with comments | « no previous file | pkg/analysis_server/lib/src/operation/operation_analysis.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698