| OLD | NEW |
| 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, 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 library analysis_server.src.utilities.change_builder_dart; | 5 library analysis_server.src.utilities.change_builder_dart; |
| 6 | 6 |
| 7 import 'package:analysis_server/plugin/edit/utilities/change_builder_core.dart'; | |
| 8 import 'package:analysis_server/plugin/edit/utilities/change_builder_dart.dart'; | |
| 9 import 'package:analysis_server/plugin/protocol/protocol.dart' hide ElementKind; | 7 import 'package:analysis_server/plugin/protocol/protocol.dart' hide ElementKind; |
| 8 import 'package:analysis_server/src/provisional/edit/utilities/change_builder_co
re.dart'; |
| 9 import 'package:analysis_server/src/provisional/edit/utilities/change_builder_da
rt.dart'; |
| 10 import 'package:analysis_server/src/services/correction/name_suggestion.dart'; | 10 import 'package:analysis_server/src/services/correction/name_suggestion.dart'; |
| 11 import 'package:analysis_server/src/services/correction/util.dart'; | 11 import 'package:analysis_server/src/services/correction/util.dart'; |
| 12 import 'package:analysis_server/src/utilities/change_builder_core.dart'; | 12 import 'package:analysis_server/src/utilities/change_builder_core.dart'; |
| 13 import 'package:analyzer/src/generated/ast.dart'; | 13 import 'package:analyzer/src/generated/ast.dart'; |
| 14 import 'package:analyzer/src/generated/element.dart'; | 14 import 'package:analyzer/src/generated/element.dart'; |
| 15 import 'package:analyzer/src/generated/engine.dart'; | 15 import 'package:analyzer/src/generated/engine.dart'; |
| 16 import 'package:analyzer/src/generated/scanner.dart'; | 16 import 'package:analyzer/src/generated/scanner.dart'; |
| 17 import 'package:analyzer/src/generated/source.dart'; | 17 import 'package:analyzer/src/generated/source.dart'; |
| 18 import 'package:analyzer/src/generated/utilities_dart.dart'; | 18 import 'package:analyzer/src/generated/utilities_dart.dart'; |
| 19 | 19 |
| (...skipping 457 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 477 } | 477 } |
| 478 unit = context.resolveCompilationUnit2(source, librariesContaining[0]); | 478 unit = context.resolveCompilationUnit2(source, librariesContaining[0]); |
| 479 utils = new CorrectionUtils(unit); | 479 utils = new CorrectionUtils(unit); |
| 480 } | 480 } |
| 481 | 481 |
| 482 @override | 482 @override |
| 483 DartEditBuilderImpl createEditBuilder(int offset, int length) { | 483 DartEditBuilderImpl createEditBuilder(int offset, int length) { |
| 484 return new DartEditBuilderImpl(this, offset, length); | 484 return new DartEditBuilderImpl(this, offset, length); |
| 485 } | 485 } |
| 486 } | 486 } |
| OLD | NEW |