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 analysis_server.src.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/src/plugin/server_plugin.dart'; | 8 import 'package:analysis_server/src/plugin/server_plugin.dart'; |
11 import 'package:analysis_server/src/services/correction/fix_internal.dart'; | 9 import 'package:analysis_server/src/services/correction/fix_internal.dart'; |
12 import 'package:analyzer/error/error.dart'; | 10 import 'package:analyzer/error/error.dart'; |
13 import 'package:analyzer/exception/exception.dart'; | 11 import 'package:analyzer/exception/exception.dart'; |
14 import 'package:analyzer/file_system/file_system.dart'; | 12 import 'package:analyzer/file_system/file_system.dart'; |
15 import 'package:analyzer/src/error/codes.dart'; | 13 import 'package:analyzer/src/error/codes.dart'; |
16 import 'package:analyzer/src/generated/engine.dart'; | 14 import 'package:analyzer/src/generated/engine.dart'; |
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
273 @override | 271 @override |
274 final AnalysisError error; | 272 final AnalysisError error; |
275 | 273 |
276 FixContextImpl(this.resourceProvider, this.analysisContext, this.error); | 274 FixContextImpl(this.resourceProvider, this.analysisContext, this.error); |
277 | 275 |
278 FixContextImpl.from(FixContext other) | 276 FixContextImpl.from(FixContext other) |
279 : resourceProvider = other.resourceProvider, | 277 : resourceProvider = other.resourceProvider, |
280 analysisContext = other.analysisContext, | 278 analysisContext = other.analysisContext, |
281 error = other.error; | 279 error = other.error; |
282 } | 280 } |
OLD | NEW |