OLD | NEW |
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:core'; | 9 import 'dart:core'; |
10 import 'dart:io' as io; | 10 import 'dart:io' as io; |
(...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
355 */ | 355 */ |
356 StreamController<String> _onFileAddedController; | 356 StreamController<String> _onFileAddedController; |
357 | 357 |
358 /** | 358 /** |
359 * This exists as a temporary stopgap for plugins, until the official plugin | 359 * This exists as a temporary stopgap for plugins, until the official plugin |
360 * API is complete. | 360 * API is complete. |
361 */ | 361 */ |
362 StreamController<String> _onFileChangedController; | 362 StreamController<String> _onFileChangedController; |
363 | 363 |
364 /** | 364 /** |
| 365 * This exists as a temporary stopgap for plugins, until the official plugin |
| 366 * API is complete. |
| 367 */ |
| 368 Function onResultErrorSupplementor; |
| 369 |
| 370 /** |
| 371 * This exists as a temporary stopgap for plugins, until the official plugin |
| 372 * API is complete. |
| 373 */ |
| 374 Function onNoAnalysisResult; |
| 375 |
| 376 /** |
365 * The set of the files that are currently priority. | 377 * The set of the files that are currently priority. |
366 */ | 378 */ |
367 final Set<String> priorityFiles = new Set<String>(); | 379 final Set<String> priorityFiles = new Set<String>(); |
368 | 380 |
369 /** | 381 /** |
370 * The DiagnosticServer for this AnalysisServer. If available, it can be used | 382 * The DiagnosticServer for this AnalysisServer. If available, it can be used |
371 * to start an http diagnostics server or return the port for an existing | 383 * to start an http diagnostics server or return the port for an existing |
372 * server. | 384 * server. |
373 */ | 385 */ |
374 DiagnosticServer diagnosticServer; | 386 DiagnosticServer diagnosticServer; |
(...skipping 1964 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2339 /** | 2351 /** |
2340 * The [PerformanceTag] for time spent in server request handlers. | 2352 * The [PerformanceTag] for time spent in server request handlers. |
2341 */ | 2353 */ |
2342 static PerformanceTag serverRequests = new PerformanceTag('serverRequests'); | 2354 static PerformanceTag serverRequests = new PerformanceTag('serverRequests'); |
2343 | 2355 |
2344 /** | 2356 /** |
2345 * The [PerformanceTag] for time spent in split store microtasks. | 2357 * The [PerformanceTag] for time spent in split store microtasks. |
2346 */ | 2358 */ |
2347 static PerformanceTag splitStore = new PerformanceTag('splitStore'); | 2359 static PerformanceTag splitStore = new PerformanceTag('splitStore'); |
2348 } | 2360 } |
OLD | NEW |