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 import 'dart:async'; | 5 import 'dart:async'; |
6 import 'dart:collection'; | 6 import 'dart:collection'; |
7 import 'dart:core'; | 7 import 'dart:core'; |
8 import 'dart:io' as io; | 8 import 'dart:io' as io; |
9 import 'dart:math' show max; | 9 import 'dart:math' show max; |
10 | 10 |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 | 93 |
94 /** | 94 /** |
95 * Instances of the class [AnalysisServer] implement a server that listens on a | 95 * Instances of the class [AnalysisServer] implement a server that listens on a |
96 * [CommunicationChannel] for analysis requests and process them. | 96 * [CommunicationChannel] for analysis requests and process them. |
97 */ | 97 */ |
98 class AnalysisServer { | 98 class AnalysisServer { |
99 /** | 99 /** |
100 * The version of the analysis server. The value should be replaced | 100 * The version of the analysis server. The value should be replaced |
101 * automatically during the build. | 101 * automatically during the build. |
102 */ | 102 */ |
103 static final String VERSION = '1.18.2'; | 103 static final String VERSION = '1.18.3'; |
104 | 104 |
105 /** | 105 /** |
106 * The options of this server instance. | 106 * The options of this server instance. |
107 */ | 107 */ |
108 AnalysisServerOptions options; | 108 AnalysisServerOptions options; |
109 | 109 |
110 /** | 110 /** |
111 * The channel from which requests are received and to which responses should | 111 * The channel from which requests are received and to which responses should |
112 * be sent. | 112 * be sent. |
113 */ | 113 */ |
(...skipping 1382 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1496 /** | 1496 /** |
1497 * The [PerformanceTag] for time spent in server request handlers. | 1497 * The [PerformanceTag] for time spent in server request handlers. |
1498 */ | 1498 */ |
1499 static PerformanceTag serverRequests = server.createChild('requests'); | 1499 static PerformanceTag serverRequests = server.createChild('requests'); |
1500 | 1500 |
1501 /** | 1501 /** |
1502 * The [PerformanceTag] for time spent in split store microtasks. | 1502 * The [PerformanceTag] for time spent in split store microtasks. |
1503 */ | 1503 */ |
1504 static PerformanceTag splitStore = new PerformanceTag('splitStore'); | 1504 static PerformanceTag splitStore = new PerformanceTag('splitStore'); |
1505 } | 1505 } |
OLD | NEW |