OLD | NEW |
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, 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 input.transformer; | 5 library input.transformer; |
6 | 6 |
7 import 'dart:async'; | 7 import 'dart:async'; |
8 import 'dart:convert'; | 8 import 'dart:convert'; |
9 import 'dart:io'; | 9 import 'dart:io'; |
10 | 10 |
11 import 'package:analysis_server/plugin/protocol/protocol.dart'; | 11 import 'package:analysis_server/protocol/protocol.dart'; |
| 12 import 'package:analysis_server/protocol/protocol_generated.dart'; |
12 import 'package:analysis_server/src/constants.dart'; | 13 import 'package:analysis_server/src/constants.dart'; |
13 import 'package:logging/logging.dart'; | 14 import 'package:logging/logging.dart'; |
14 import 'package:path/path.dart' as path; | 15 import 'package:path/path.dart' as path; |
15 | 16 |
16 import 'instrumentation_input_converter.dart'; | 17 import 'instrumentation_input_converter.dart'; |
17 import 'log_file_input_converter.dart'; | 18 import 'log_file_input_converter.dart'; |
18 import 'operation.dart'; | 19 import 'operation.dart'; |
19 | 20 |
20 /** | 21 /** |
21 * Common input converter superclass for sharing implementation. | 22 * Common input converter superclass for sharing implementation. |
(...skipping 368 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
390 if (op != null) { | 391 if (op != null) { |
391 outSink.add(op); | 392 outSink.add(op); |
392 } | 393 } |
393 } | 394 } |
394 | 395 |
395 @override | 396 @override |
396 void close() { | 397 void close() { |
397 outSink.close(); | 398 outSink.close(); |
398 } | 399 } |
399 } | 400 } |
OLD | NEW |