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

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

Issue 2815643004: Temp fix to allow plugins to serve the getErrors APIs. (Closed)
Patch Set: Created 3 years, 8 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/domain_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 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
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
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 }
OLDNEW
« no previous file with comments | « no previous file | pkg/analysis_server/lib/src/domain_analysis.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698