| OLD | NEW |
| 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, 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 test.services.correction.fix; | |
| 6 | |
| 7 import 'dart:async'; | 5 import 'dart:async'; |
| 8 | 6 |
| 9 import 'package:analysis_server/plugin/edit/fix/fix_core.dart'; | 7 import 'package:analysis_server/plugin/edit/fix/fix_core.dart'; |
| 10 import 'package:analysis_server/plugin/edit/fix/fix_dart.dart'; | 8 import 'package:analysis_server/plugin/edit/fix/fix_dart.dart'; |
| 11 import 'package:analysis_server/plugin/protocol/protocol.dart' | 9 import 'package:analysis_server/protocol/protocol_generated.dart' |
| 12 hide AnalysisError; | 10 hide AnalysisError; |
| 13 import 'package:analysis_server/src/services/correction/fix.dart'; | 11 import 'package:analysis_server/src/services/correction/fix.dart'; |
| 14 import 'package:analysis_server/src/services/correction/fix_internal.dart'; | 12 import 'package:analysis_server/src/services/correction/fix_internal.dart'; |
| 15 import 'package:analyzer/dart/ast/ast.dart'; | 13 import 'package:analyzer/dart/ast/ast.dart'; |
| 16 import 'package:analyzer/dart/ast/standard_resolution_map.dart'; | 14 import 'package:analyzer/dart/ast/standard_resolution_map.dart'; |
| 17 import 'package:analyzer/error/error.dart'; | 15 import 'package:analyzer/error/error.dart'; |
| 18 import 'package:analyzer/file_system/file_system.dart'; | 16 import 'package:analyzer/file_system/file_system.dart'; |
| 19 import 'package:analyzer/source/package_map_resolver.dart'; | 17 import 'package:analyzer/source/package_map_resolver.dart'; |
| 20 import 'package:analyzer/src/dart/analysis/ast_provider_driver.dart'; | 18 import 'package:analyzer/src/dart/analysis/ast_provider_driver.dart'; |
| 21 import 'package:analyzer/src/dart/element/ast_provider.dart'; | 19 import 'package:analyzer/src/dart/element/ast_provider.dart'; |
| (...skipping 6290 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6312 | 6310 |
| 6313 @override | 6311 @override |
| 6314 final CompilationUnit unit; | 6312 final CompilationUnit unit; |
| 6315 | 6313 |
| 6316 @override | 6314 @override |
| 6317 final AnalysisError error; | 6315 final AnalysisError error; |
| 6318 | 6316 |
| 6319 _DartFixContextImpl(this.resourceProvider, this.getTopLevelDeclarations, | 6317 _DartFixContextImpl(this.resourceProvider, this.getTopLevelDeclarations, |
| 6320 this.analysisContext, this.astProvider, this.unit, this.error); | 6318 this.analysisContext, this.astProvider, this.unit, this.error); |
| 6321 } | 6319 } |
| OLD | NEW |