| 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/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/protocol/protocol_generated.dart'; |
| 13 import 'package:analysis_server/src/constants.dart'; | 13 import 'package:analysis_server/src/constants.dart'; |
| 14 import 'package:analyzer_plugin/protocol/protocol_common.dart'; |
| 14 import 'package:logging/logging.dart'; | 15 import 'package:logging/logging.dart'; |
| 15 import 'package:path/path.dart' as path; | 16 import 'package:path/path.dart' as path; |
| 16 | 17 |
| 17 import 'instrumentation_input_converter.dart'; | 18 import 'instrumentation_input_converter.dart'; |
| 18 import 'log_file_input_converter.dart'; | 19 import 'log_file_input_converter.dart'; |
| 19 import 'operation.dart'; | 20 import 'operation.dart'; |
| 20 | 21 |
| 21 /** | 22 /** |
| 22 * Common input converter superclass for sharing implementation. | 23 * Common input converter superclass for sharing implementation. |
| 23 */ | 24 */ |
| (...skipping 367 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 391 if (op != null) { | 392 if (op != null) { |
| 392 outSink.add(op); | 393 outSink.add(op); |
| 393 } | 394 } |
| 394 } | 395 } |
| 395 | 396 |
| 396 @override | 397 @override |
| 397 void close() { | 398 void close() { |
| 398 outSink.close(); | 399 outSink.close(); |
| 399 } | 400 } |
| 400 } | 401 } |
| OLD | NEW |