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 socket.server; | 5 library socket.server; |
6 | 6 |
7 import 'package:analysis_server/plugin/analysis/resolver_provider.dart'; | 7 import 'package:analysis_server/plugin/analysis/resolver_provider.dart'; |
| 8 import 'package:analysis_server/plugin/protocol/protocol.dart'; |
8 import 'package:analysis_server/src/analysis_server.dart'; | 9 import 'package:analysis_server/src/analysis_server.dart'; |
9 import 'package:analysis_server/src/channel/channel.dart'; | 10 import 'package:analysis_server/src/channel/channel.dart'; |
10 import 'package:analysis_server/src/plugin/server_plugin.dart'; | 11 import 'package:analysis_server/src/plugin/server_plugin.dart'; |
11 import 'package:analysis_server/src/protocol.dart'; | |
12 import 'package:analysis_server/src/services/index/index.dart'; | 12 import 'package:analysis_server/src/services/index/index.dart'; |
13 import 'package:analysis_server/src/services/index/local_file_index.dart'; | 13 import 'package:analysis_server/src/services/index/local_file_index.dart'; |
14 import 'package:analyzer/file_system/physical_file_system.dart'; | 14 import 'package:analyzer/file_system/physical_file_system.dart'; |
15 import 'package:analyzer/instrumentation/instrumentation.dart'; | 15 import 'package:analyzer/instrumentation/instrumentation.dart'; |
16 import 'package:analyzer/source/pub_package_map_provider.dart'; | 16 import 'package:analyzer/source/pub_package_map_provider.dart'; |
17 import 'package:analyzer/src/generated/sdk_io.dart'; | 17 import 'package:analyzer/src/generated/sdk_io.dart'; |
18 import 'package:plugin/plugin.dart'; | 18 import 'package:plugin/plugin.dart'; |
19 | 19 |
20 /** | 20 /** |
21 * Instances of the class [SocketServer] implement the common parts of | 21 * Instances of the class [SocketServer] implement the common parts of |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 index, | 88 index, |
89 serverPlugin, | 89 serverPlugin, |
90 analysisServerOptions, | 90 analysisServerOptions, |
91 defaultSdk, | 91 defaultSdk, |
92 instrumentationService, | 92 instrumentationService, |
93 packageResolverProvider: packageResolverProvider, | 93 packageResolverProvider: packageResolverProvider, |
94 rethrowExceptions: false); | 94 rethrowExceptions: false); |
95 analysisServer.userDefinedPlugins = userDefinedPlugins; | 95 analysisServer.userDefinedPlugins = userDefinedPlugins; |
96 } | 96 } |
97 } | 97 } |
OLD | NEW |