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

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

Issue 364083002: Implemention of the 'analysis.overrides' notification. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 5 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
« no previous file with comments | « no previous file | pkg/analysis_server/lib/src/computer/computer_overrides.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 9
10 import 'package:analysis_server/src/analysis_logger.dart'; 10 import 'package:analysis_server/src/analysis_logger.dart';
(...skipping 469 matching lines...) Expand 10 before | Expand all | Expand 10 after
480 case AnalysisService.NAVIGATION: 480 case AnalysisService.NAVIGATION:
481 // TODO(scheglov) consider support for one unit in 2+ libraries 481 // TODO(scheglov) consider support for one unit in 2+ libraries
482 sendAnalysisNotificationNavigation(this, file, dartUnit); 482 sendAnalysisNotificationNavigation(this, file, dartUnit);
483 break; 483 break;
484 case AnalysisService.OCCURRENCES: 484 case AnalysisService.OCCURRENCES:
485 sendAnalysisNotificationOccurrences(this, file, dartUnit); 485 sendAnalysisNotificationOccurrences(this, file, dartUnit);
486 break; 486 break;
487 case AnalysisService.OUTLINE: 487 case AnalysisService.OUTLINE:
488 sendAnalysisNotificationOutline(this, context, source, dartUnit) ; 488 sendAnalysisNotificationOutline(this, context, source, dartUnit) ;
489 break; 489 break;
490 case AnalysisService.OVERRIDES:
491 sendAnalysisNotificationOverrides(this, file, dartUnit);
492 break;
490 } 493 }
491 } 494 }
492 } 495 }
493 } 496 }
494 }); 497 });
495 // remember new subscriptions 498 // remember new subscriptions
496 this.analysisServices = subscriptions; 499 this.analysisServices = subscriptions;
497 } 500 }
498 501
499 /** 502 /**
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
603 /** 606 /**
604 * An enumeration of the services provided by the server domain. 607 * An enumeration of the services provided by the server domain.
605 */ 608 */
606 class ServerService extends Enum2<ServerService> { 609 class ServerService extends Enum2<ServerService> {
607 static const ServerService STATUS = const ServerService('STATUS', 0); 610 static const ServerService STATUS = const ServerService('STATUS', 0);
608 611
609 static const List<ServerService> VALUES = const [STATUS]; 612 static const List<ServerService> VALUES = const [STATUS];
610 613
611 const ServerService(String name, int ordinal) : super(name, ordinal); 614 const ServerService(String name, int ordinal) : super(name, ordinal);
612 } 615 }
OLDNEW
« no previous file with comments | « no previous file | pkg/analysis_server/lib/src/computer/computer_overrides.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698