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

Side by Side Diff: pkg/analyzer_plugin/lib/src/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/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
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698