| OLD | NEW |
| 1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2017, 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 | 6 |
| 7 import 'package:analysis_server/protocol/protocol_generated.dart'; | |
| 8 import 'package:analyzer/src/generated/source.dart'; | 7 import 'package:analyzer/src/generated/source.dart'; |
| 8 import 'package:analyzer_plugin/protocol/protocol_generated.dart'; |
| 9 import 'package:analyzer_plugin/utilities/change_builder/change_builder_core.dar
t'; | 9 import 'package:analyzer_plugin/utilities/change_builder/change_builder_core.dar
t'; |
| 10 | 10 |
| 11 /** | 11 /** |
| 12 * A builder used to build a [SourceChange]. | 12 * A builder used to build a [SourceChange]. |
| 13 */ | 13 */ |
| 14 class ChangeBuilderImpl implements ChangeBuilder { | 14 class ChangeBuilderImpl implements ChangeBuilder { |
| 15 /** | 15 /** |
| 16 * The end-of-line marker used in the file being edited, or `null` if the | 16 * The end-of-line marker used in the file being edited, or `null` if the |
| 17 * default marker should be used. | 17 * default marker should be used. |
| 18 */ | 18 */ |
| (...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 322 @override | 322 @override |
| 323 void write(String string) { | 323 void write(String string) { |
| 324 editBuilder.write(string); | 324 editBuilder.write(string); |
| 325 } | 325 } |
| 326 | 326 |
| 327 @override | 327 @override |
| 328 void writeln([String string]) { | 328 void writeln([String string]) { |
| 329 editBuilder.writeln(string); | 329 editBuilder.writeln(string); |
| 330 } | 330 } |
| 331 } | 331 } |
| OLD | NEW |