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 | 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 Loading... |
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 Loading... |
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 } |
OLD | NEW |