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

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

Issue 484733003: Import analysis_services.dart into analysis_server.dart. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 4 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
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 socket.server; 5 library socket.server;
6 6
7 import 'package:analysis_server/src/analysis_server.dart'; 7 import 'package:analysis_server/src/analysis_server.dart';
8 import 'package:analysis_server/src/channel.dart'; 8 import 'package:analysis_server/src/channel.dart';
9 import 'package:analysis_server/src/domain_analysis.dart'; 9 import 'package:analysis_server/src/domain_analysis.dart';
10 import 'package:analysis_server/src/domain_completion.dart'; 10 import 'package:analysis_server/src/domain_completion.dart';
11 import 'package:analysis_server/src/edit/edit_domain.dart'; 11 import 'package:analysis_server/src/edit/edit_domain.dart';
12 import 'package:analysis_server/src/search/search_domain.dart'; 12 import 'package:analysis_server/src/search/search_domain.dart';
13 import 'package:analysis_server/src/domain_server.dart'; 13 import 'package:analysis_server/src/domain_server.dart';
14 import 'package:analysis_server/src/package_map_provider.dart'; 14 import 'package:analysis_server/src/package_map_provider.dart';
15 import 'package:analysis_server/src/protocol.dart'; 15 import 'package:analysis_server/src/protocol.dart';
16 import 'package:analyzer/file_system/physical_file_system.dart'; 16 import 'package:analyzer/file_system/physical_file_system.dart';
17 import 'package:analyzer/src/generated/sdk_io.dart'; 17 import 'package:analyzer/src/generated/sdk_io.dart';
18 import 'package:analysis_services/index/index.dart'; 18 import 'package:analysis_server/src/services/index/index.dart';
19 import 'package:analysis_services/index/local_file_index.dart'; 19 import 'package:analysis_server/src/services/index/local_file_index.dart';
20 20
21 21
22 /** 22 /**
23 * Creates and runs an [Index]. 23 * Creates and runs an [Index].
24 */ 24 */
25 Index _createIndex() { 25 Index _createIndex() {
26 Index index = createLocalFileIndex(); 26 Index index = createLocalFileIndex();
27 index.run(); 27 index.run();
28 return index; 28 return index;
29 } 29 }
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 void _initializeHandlers(AnalysisServer server) { 76 void _initializeHandlers(AnalysisServer server) {
77 server.handlers = [ 77 server.handlers = [
78 new ServerDomainHandler(server), 78 new ServerDomainHandler(server),
79 new AnalysisDomainHandler(server), 79 new AnalysisDomainHandler(server),
80 new EditDomainHandler(server), 80 new EditDomainHandler(server),
81 new SearchDomainHandler(server), 81 new SearchDomainHandler(server),
82 new CompletionDomainHandler(server), 82 new CompletionDomainHandler(server),
83 ]; 83 ];
84 } 84 }
85 } 85 }
OLDNEW
« no previous file with comments | « pkg/analysis_server/lib/src/services/search/search_engine_internal.dart ('k') | pkg/analysis_server/pubspec.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698