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

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

Issue 544273003: Initial support for execution domain (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fixed formatting Created 6 years, 3 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/channel.dart'; 8 import 'package:analysis_server/src/channel/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_server/src/services/index/index.dart'; 18 import 'package:analysis_server/src/services/index/index.dart';
19 import 'package:analysis_server/src/services/index/local_file_index.dart'; 19 import 'package:analysis_server/src/services/index/local_file_index.dart';
20 import 'package:analysis_server/src/domain_execution.dart';
20 21
21 22
22 /** 23 /**
23 * Creates and runs an [Index]. 24 * Creates and runs an [Index].
24 */ 25 */
25 Index _createIndex() { 26 Index _createIndex() {
26 Index index = createLocalFileIndex(); 27 Index index = createLocalFileIndex();
27 index.run(); 28 index.run();
28 return index; 29 return index;
29 } 30 }
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 /** 75 /**
75 * Initialize the handlers to be used by the given [server]. 76 * Initialize the handlers to be used by the given [server].
76 */ 77 */
77 void _initializeHandlers(AnalysisServer server) { 78 void _initializeHandlers(AnalysisServer server) {
78 server.handlers = [ 79 server.handlers = [
79 new ServerDomainHandler(server), 80 new ServerDomainHandler(server),
80 new AnalysisDomainHandler(server), 81 new AnalysisDomainHandler(server),
81 new EditDomainHandler(server), 82 new EditDomainHandler(server),
82 new SearchDomainHandler(server), 83 new SearchDomainHandler(server),
83 new CompletionDomainHandler(server), 84 new CompletionDomainHandler(server),
85 new ExecutionDomainHandler(server),
84 ]; 86 ];
85 } 87 }
86 } 88 }
OLDNEW
« no previous file with comments | « pkg/analysis_server/lib/src/search/search_domain.dart ('k') | pkg/analysis_server/test/domain_execution_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698