Index: pkg/analyzer_plugin/lib/src/utilities/change_builder/change_builder_dart.dart |
diff --git a/pkg/analyzer_plugin/lib/src/utilities/change_builder/change_builder_dart.dart b/pkg/analyzer_plugin/lib/src/utilities/change_builder/change_builder_dart.dart |
index 6ce511f8ff170230ee601b8cdabf224badcdec4c..c94b60ba28b6076486f2d4def024b813176ddd99 100644 |
--- a/pkg/analyzer_plugin/lib/src/utilities/change_builder/change_builder_dart.dart |
+++ b/pkg/analyzer_plugin/lib/src/utilities/change_builder/change_builder_dart.dart |
@@ -39,6 +39,11 @@ class DartChangeBuilderImpl extends ChangeBuilderImpl |
DartChangeBuilderImpl(this.driver); |
@override |
+ Future<Null> addFileEdit(String path, int fileStamp, |
+ void buildFileEdit(DartFileEditBuilder builder)) => |
+ super.addFileEdit(path, fileStamp, buildFileEdit); |
+ |
+ @override |
Future<DartFileEditBuilderImpl> createFileEditBuilder( |
String path, int fileStamp) async { |
AnalysisResult result = await driver.getResult(path); |
@@ -62,6 +67,11 @@ class DartEditBuilderImpl extends EditBuilderImpl implements DartEditBuilder { |
DartFileEditBuilderImpl get dartFileEditBuilder => fileEditBuilder; |
@override |
+ void addLinkedEdit(String groupName, |
+ void buildLinkedEdit(DartLinkedEditBuilder builder)) => |
+ super.addLinkedEdit(groupName, buildLinkedEdit); |
+ |
+ @override |
LinkedEditBuilderImpl createLinkedEditBuilder() { |
return new DartLinkedEditBuilderImpl(this); |
} |
@@ -971,6 +981,15 @@ class DartFileEditBuilderImpl extends FileEditBuilderImpl |
: super(changeBuilder, path, timeStamp); |
@override |
+ void addInsertion(int offset, void buildEdit(DartEditBuilder builder)) => |
+ super.addInsertion(offset, buildEdit); |
+ |
+ @override |
+ void addReplacement( |
+ SourceRange range, void buildEdit(DartEditBuilder builder)) => |
+ super.addReplacement(range, buildEdit); |
+ |
+ @override |
void convertFunctionFromSyncToAsync( |
FunctionBody body, TypeProvider typeProvider) { |
if (body == null && body.keyword != null) { |