Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(760)

Side by Side Diff: pkg/analyzer_plugin/lib/utilities/change_builder/change_builder_core.dart

Issue 2875323002: Remove unintentional dependency on analysis_server (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « pkg/analyzer_plugin/lib/src/utilities/string_utilities.dart ('k') | pkg/analyzer_plugin/pubspec.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698