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 edit.domain; | 5 library edit.domain; |
6 | 6 |
7 import 'dart:async'; | 7 import 'dart:async'; |
8 | 8 |
9 import 'package:analysis_server/plugin/edit/assist/assist_core.dart'; | 9 import 'package:analysis_server/plugin/edit/assist/assist_core.dart'; |
10 import 'package:analysis_server/plugin/edit/fix/fix_core.dart'; | 10 import 'package:analysis_server/plugin/edit/fix/fix_core.dart'; |
11 import 'package:analysis_server/src/analysis_server.dart'; | 11 import 'package:analysis_server/src/analysis_server.dart'; |
12 import 'package:analysis_server/src/collections.dart'; | 12 import 'package:analysis_server/src/collections.dart'; |
13 import 'package:analysis_server/src/constants.dart'; | 13 import 'package:analysis_server/src/constants.dart'; |
14 import 'package:analysis_server/src/protocol_server.dart' hide Element; | 14 import 'package:analysis_server/src/protocol_server.dart' hide Element; |
15 import 'package:analysis_server/src/services/correction/assist.dart'; | 15 import 'package:analysis_server/src/services/correction/assist.dart'; |
16 import 'package:analysis_server/src/services/correction/fix.dart'; | 16 import 'package:analysis_server/src/services/correction/fix.dart'; |
17 import 'package:analysis_server/src/services/correction/organize_directives.dart
'; | 17 import 'package:analysis_server/src/services/correction/organize_directives.dart
'; |
18 import 'package:analysis_server/src/services/correction/sort_members.dart'; | 18 import 'package:analysis_server/src/services/correction/sort_members.dart'; |
19 import 'package:analysis_server/src/services/correction/status.dart'; | 19 import 'package:analysis_server/src/services/correction/status.dart'; |
20 import 'package:analysis_server/src/services/refactoring/refactoring.dart'; | 20 import 'package:analysis_server/src/services/refactoring/refactoring.dart'; |
21 import 'package:analysis_server/src/services/search/search_engine.dart'; | 21 import 'package:analysis_server/src/services/search/search_engine.dart'; |
22 import 'package:analyzer/dart/ast/ast.dart'; | 22 import 'package:analyzer/dart/ast/ast.dart'; |
23 import 'package:analyzer/dart/element/element.dart'; | 23 import 'package:analyzer/dart/element/element.dart'; |
| 24 import 'package:analyzer/error/error.dart' as engine; |
24 import 'package:analyzer/src/dart/scanner/scanner.dart' as engine; | 25 import 'package:analyzer/src/dart/scanner/scanner.dart' as engine; |
| 26 import 'package:analyzer/src/error/codes.dart' as engine; |
25 import 'package:analyzer/src/generated/engine.dart' as engine; | 27 import 'package:analyzer/src/generated/engine.dart' as engine; |
26 import 'package:analyzer/src/generated/error.dart' as engine; | |
27 import 'package:analyzer/src/generated/parser.dart' as engine; | 28 import 'package:analyzer/src/generated/parser.dart' as engine; |
28 import 'package:analyzer/src/generated/source.dart'; | 29 import 'package:analyzer/src/generated/source.dart'; |
29 import 'package:analyzer/task/dart.dart'; | 30 import 'package:analyzer/task/dart.dart'; |
30 import 'package:dart_style/dart_style.dart'; | 31 import 'package:dart_style/dart_style.dart'; |
31 | 32 |
32 int test_resetCount = 0; | 33 int test_resetCount = 0; |
33 | 34 |
34 bool test_simulateRefactoringException_change = false; | 35 bool test_simulateRefactoringException_change = false; |
35 bool test_simulateRefactoringException_final = false; | 36 bool test_simulateRefactoringException_final = false; |
36 bool test_simulateRefactoringException_init = false; | 37 bool test_simulateRefactoringException_init = false; |
(...skipping 768 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
805 } | 806 } |
806 return new RefactoringStatus(); | 807 return new RefactoringStatus(); |
807 } | 808 } |
808 } | 809 } |
809 | 810 |
810 /** | 811 /** |
811 * [_RefactoringManager] throws instances of this class internally to stop | 812 * [_RefactoringManager] throws instances of this class internally to stop |
812 * processing in a manager that was reset. | 813 * processing in a manager that was reset. |
813 */ | 814 */ |
814 class _ResetError {} | 815 class _ResetError {} |
OLD | NEW |