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

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

Issue 840953008: Alternate status page (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Sorted and formatted Created 5 years, 11 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 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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 const AnalysisDoneReason._(this.text); 56 const AnalysisDoneReason._(this.text);
57 } 57 }
58 58
59 59
60 /** 60 /**
61 * Instances of the class [AnalysisServer] implement a server that listens on a 61 * Instances of the class [AnalysisServer] implement a server that listens on a
62 * [CommunicationChannel] for analysis requests and process them. 62 * [CommunicationChannel] for analysis requests and process them.
63 */ 63 */
64 class AnalysisServer { 64 class AnalysisServer {
65 /** 65 /**
66 * The version of the analysis server.
67 */
68 static String VERSION = '0.0.1';
Paul Berry 2015/01/20 17:28:11 We should talk about a policy for what will cause
Brian Wilkerson 2015/01/20 17:46:34 Agreed.
69
70 /**
66 * The channel from which requests are received and to which responses should 71 * The channel from which requests are received and to which responses should
67 * be sent. 72 * be sent.
68 */ 73 */
69 final ServerCommunicationChannel channel; 74 final ServerCommunicationChannel channel;
70 75
71 /** 76 /**
72 * The [ResourceProvider] using which paths are converted into [Resource]s. 77 * The [ResourceProvider] using which paths are converted into [Resource]s.
73 */ 78 */
74 final ResourceProvider resourceProvider; 79 final ResourceProvider resourceProvider;
75 80
(...skipping 1001 matching lines...) Expand 10 before | Expand all | Expand 10 after
1077 * [packageUriResolver]. 1082 * [packageUriResolver].
1078 */ 1083 */
1079 SourceFactory _createSourceFactory(UriResolver packageUriResolver) { 1084 SourceFactory _createSourceFactory(UriResolver packageUriResolver) {
1080 List<UriResolver> resolvers = <UriResolver>[ 1085 List<UriResolver> resolvers = <UriResolver>[
1081 new DartUriResolver(analysisServer.defaultSdk), 1086 new DartUriResolver(analysisServer.defaultSdk),
1082 new ResourceUriResolver(resourceProvider), 1087 new ResourceUriResolver(resourceProvider),
1083 packageUriResolver]; 1088 packageUriResolver];
1084 return new SourceFactory(resolvers); 1089 return new SourceFactory(resolvers);
1085 } 1090 }
1086 } 1091 }
OLDNEW
« no previous file with comments | « no previous file | pkg/analysis_server/lib/src/domain_server.dart » ('j') | pkg/analysis_server/lib/src/generated_protocol.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698