| 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:analyzer/src/generated/source.dart'; | 7 import 'package:analyzer/src/generated/source.dart'; |
| 8 import 'package:analyzer_plugin/protocol/protocol_common.dart'; | 8 import 'package:analyzer_plugin/protocol/protocol_common.dart'; |
| 9 import 'package:analyzer_plugin/src/utilities/change_builder/change_builder_core
.dart'; | 9 import 'package:analyzer_plugin/src/utilities/change_builder/change_builder_core
.dart'; |
| 10 import 'package:meta/meta.dart'; | |
| 11 | 10 |
| 12 /** | 11 /** |
| 13 * A builder used to build a [SourceChange]. | 12 * A builder used to build a [SourceChange]. |
| 14 * | 13 * |
| 15 * Clients may not extend, implement or mix-in this class. | 14 * Clients may not extend, implement or mix-in this class. |
| 16 */ | 15 */ |
| 17 abstract class ChangeBuilder { | 16 abstract class ChangeBuilder { |
| 18 /** | 17 /** |
| 19 * Initialize a newly created change builder. | 18 * Initialize a newly created change builder. |
| 20 */ | 19 */ |
| (...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 177 * Add the given [string] to the content of the current edit. | 176 * Add the given [string] to the content of the current edit. |
| 178 */ | 177 */ |
| 179 void write(String string); | 178 void write(String string); |
| 180 | 179 |
| 181 /** | 180 /** |
| 182 * Add the given [string] to the content of the current edit and then add an | 181 * Add the given [string] to the content of the current edit and then add an |
| 183 * end-of-line marker. | 182 * end-of-line marker. |
| 184 */ | 183 */ |
| 185 void writeln([String string]); | 184 void writeln([String string]); |
| 186 } | 185 } |
| OLD | NEW |