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/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'; | 10 import 'package:meta/meta.dart'; |
11 | 11 |
12 /** | 12 /** |
13 * A builder used to build a [SourceChange]. | 13 * A builder used to build a [SourceChange]. |
14 * | 14 * |
15 * Clients may not extend, implement or mix-in this class. | 15 * Clients may not extend, implement or mix-in this class. |
16 */ | 16 */ |
17 abstract class ChangeBuilder { | 17 abstract class ChangeBuilder { |
18 /** | 18 /** |
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
156 * Add the given [string] to the content of the current edit. | 156 * Add the given [string] to the content of the current edit. |
157 */ | 157 */ |
158 void write(String string); | 158 void write(String string); |
159 | 159 |
160 /** | 160 /** |
161 * Add the given [string] to the content of the current edit and then add an | 161 * Add the given [string] to the content of the current edit and then add an |
162 * end-of-line marker. | 162 * end-of-line marker. |
163 */ | 163 */ |
164 void writeln([String string]); | 164 void writeln([String string]); |
165 } | 165 } |
OLD | NEW |