OLD | NEW |
1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2017, 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 import 'dart:async'; | 5 import 'dart:async'; |
6 import 'dart:io' as io; | 6 import 'dart:io' as io; |
7 | 7 |
8 import 'package:analysis_server/src/plugin/notification_manager.dart'; | 8 import 'package:analysis_server/src/plugin/notification_manager.dart'; |
9 import 'package:analysis_server/src/plugin/plugin_manager.dart'; | 9 import 'package:analysis_server/src/plugin/plugin_manager.dart'; |
10 import 'package:analyzer/context/context_root.dart'; | 10 import 'package:analyzer/context/context_root.dart'; |
(...skipping 516 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
527 List<String> get fileGlobsToAnalyze => <String>['**/*.dart']; | 527 List<String> get fileGlobsToAnalyze => <String>['**/*.dart']; |
528 | 528 |
529 @override | 529 @override |
530 String get name => 'minimal'; | 530 String get name => 'minimal'; |
531 | 531 |
532 @override | 532 @override |
533 String get version => '0.0.1'; | 533 String get version => '0.0.1'; |
534 | 534 |
535 @override | 535 @override |
536 AnalysisHandleWatchEventsResult handleAnalysisHandleWatchEvents( | 536 AnalysisHandleWatchEventsResult handleAnalysisHandleWatchEvents( |
537 Map<String, Object> parameters) => | 537 AnalysisHandleWatchEventsParams parameters) => |
538 new AnalysisHandleWatchEventsResult(); | 538 new AnalysisHandleWatchEventsResult(); |
539 | 539 |
540 @override | 540 @override |
541 bool isCompatibleWith(Version serverVersion) => true; | 541 bool isCompatibleWith(Version serverVersion) => true; |
542 } | 542 } |
543 '''; | 543 '''; |
544 } | 544 } |
545 | 545 |
546 /** | 546 /** |
547 * Return the content to be used for the '.packages' file. | 547 * Return the content to be used for the '.packages' file. |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
603 void onNotification(Notification notification), | 603 void onNotification(Notification notification), |
604 {Function onError, void onDone()}) { | 604 {Function onError, void onDone()}) { |
605 fail('Unexpected invocation of listen'); | 605 fail('Unexpected invocation of listen'); |
606 } | 606 } |
607 | 607 |
608 @override | 608 @override |
609 void sendRequest(Request request) { | 609 void sendRequest(Request request) { |
610 sentRequests.add(request); | 610 sentRequests.add(request); |
611 } | 611 } |
612 } | 612 } |
OLD | NEW |