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

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

Issue 983733002: No errors in third-party packages (issue 22170) (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 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 unified diff | Download patch | Annotate | Revision Log
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 library analysis.server; 5 library analysis.server;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 import 'dart:collection'; 8 import 'dart:collection';
9 import 'dart:math' show max; 9 import 'dart:math' show max;
10 10
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after
250 searchEngine = _index != null ? createSearchEngine(_index) : null { 250 searchEngine = _index != null ? createSearchEngine(_index) : null {
251 _performance = performanceDuringStartup; 251 _performance = performanceDuringStartup;
252 operationQueue = new ServerOperationQueue(); 252 operationQueue = new ServerOperationQueue();
253 contextDirectoryManager = new ServerContextManager( 253 contextDirectoryManager = new ServerContextManager(
254 this, resourceProvider, packageMapProvider, instrumentationService); 254 this, resourceProvider, packageMapProvider, instrumentationService);
255 contextDirectoryManager.defaultOptions.incremental = true; 255 contextDirectoryManager.defaultOptions.incremental = true;
256 contextDirectoryManager.defaultOptions.incrementalApi = 256 contextDirectoryManager.defaultOptions.incrementalApi =
257 analysisServerOptions.enableIncrementalResolutionApi; 257 analysisServerOptions.enableIncrementalResolutionApi;
258 contextDirectoryManager.defaultOptions.incrementalValidation = 258 contextDirectoryManager.defaultOptions.incrementalValidation =
259 analysisServerOptions.enableIncrementalResolutionValidation; 259 analysisServerOptions.enableIncrementalResolutionValidation;
260 contextDirectoryManager.defaultOptions.generateImplicitErrors = false;
260 _noErrorNotification = analysisServerOptions.noErrorNotification; 261 _noErrorNotification = analysisServerOptions.noErrorNotification;
261 AnalysisEngine.instance.logger = new AnalysisLogger(); 262 AnalysisEngine.instance.logger = new AnalysisLogger();
262 _onAnalysisStartedController = new StreamController.broadcast(); 263 _onAnalysisStartedController = new StreamController.broadcast();
263 _onFileAnalyzedController = new StreamController.broadcast(); 264 _onFileAnalyzedController = new StreamController.broadcast();
264 _onPriorityChangeController = 265 _onPriorityChangeController =
265 new StreamController<PriorityChangeEvent>.broadcast(); 266 new StreamController<PriorityChangeEvent>.broadcast();
266 running = true; 267 running = true;
267 onAnalysisStarted.first.then((_) { 268 onAnalysisStarted.first.then((_) {
268 onAnalysisComplete.then((_) { 269 onAnalysisComplete.then((_) {
269 performanceAfterStartup = new ServerPerformance(); 270 performanceAfterStartup = new ServerPerformance();
(...skipping 1092 matching lines...) Expand 10 before | Expand all | Expand 10 after
1362 /** 1363 /**
1363 * The [PerformanceTag] for time spent in server request handlers. 1364 * The [PerformanceTag] for time spent in server request handlers.
1364 */ 1365 */
1365 static PerformanceTag serverRequests = new PerformanceTag('serverRequests'); 1366 static PerformanceTag serverRequests = new PerformanceTag('serverRequests');
1366 1367
1367 /** 1368 /**
1368 * The [PerformanceTag] for time spent in split store microtasks. 1369 * The [PerformanceTag] for time spent in split store microtasks.
1369 */ 1370 */
1370 static PerformanceTag splitStore = new PerformanceTag('splitStore'); 1371 static PerformanceTag splitStore = new PerformanceTag('splitStore');
1371 } 1372 }
OLDNEW
« no previous file with comments | « no previous file | pkg/analysis_server/lib/src/get_handler.dart » ('j') | pkg/analyzer/lib/src/generated/engine.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698