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 'package:analysis_server/src/analysis_server.dart'; | 7 import 'package:analysis_server/src/analysis_server.dart'; |
8 import 'package:analysis_server/src/computer/error.dart'; | 8 import 'package:analysis_server/src/computer/error.dart'; |
9 import 'package:analysis_server/src/constants.dart'; | 9 import 'package:analysis_server/src/constants.dart'; |
10 import 'package:analysis_server/src/edit/fix.dart'; | 10 import 'package:analysis_server/src/edit/fix.dart'; |
11 import 'package:analysis_server/src/protocol.dart'; | 11 import 'package:analysis_server/src/protocol.dart'; |
12 import 'package:analysis_services/constants.dart'; | 12 import 'package:analysis_server/src/services/constants.dart'; |
13 import 'package:analysis_services/correction/fix.dart'; | 13 import 'package:analysis_server/src/services/correction/fix.dart'; |
14 import 'package:analysis_services/refactoring/refactoring.dart'; | 14 import 'package:analysis_server/src/services/refactoring/refactoring.dart'; |
15 import 'package:analysis_services/search/search_engine.dart'; | 15 import 'package:analysis_server/src/services/search/search_engine.dart'; |
16 import 'package:analyzer/src/generated/ast.dart'; | 16 import 'package:analyzer/src/generated/ast.dart'; |
17 import 'package:analyzer/src/generated/element.dart'; | 17 import 'package:analyzer/src/generated/element.dart'; |
18 import 'package:analyzer/src/generated/engine.dart' as engine; | 18 import 'package:analyzer/src/generated/engine.dart' as engine; |
19 import 'package:analyzer/src/generated/error.dart' as engine; | 19 import 'package:analyzer/src/generated/error.dart' as engine; |
20 | 20 |
21 | 21 |
22 /** | 22 /** |
23 * Instances of the class [EditDomainHandler] implement a [RequestHandler] | 23 * Instances of the class [EditDomainHandler] implement a [RequestHandler] |
24 * that handles requests in the edit domain. | 24 * that handles requests in the edit domain. |
25 */ | 25 */ |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 | 120 |
121 class RefactoringKind { | 121 class RefactoringKind { |
122 static const String CONVERT_GETTER_TO_METHOD = 'CONVERT_GETTER_TO_METHOD'; | 122 static const String CONVERT_GETTER_TO_METHOD = 'CONVERT_GETTER_TO_METHOD'; |
123 static const String CONVERT_METHOD_TO_GETTER = 'CONVERT_METHOD_TO_GETTER'; | 123 static const String CONVERT_METHOD_TO_GETTER = 'CONVERT_METHOD_TO_GETTER'; |
124 static const String EXTRACT_LOCAL_VARIABLE = 'EXTRACT_LOCAL_VARIABLE'; | 124 static const String EXTRACT_LOCAL_VARIABLE = 'EXTRACT_LOCAL_VARIABLE'; |
125 static const String EXTRACT_METHOD = 'EXTRACT_METHOD'; | 125 static const String EXTRACT_METHOD = 'EXTRACT_METHOD'; |
126 static const String INLINE_LOCAL_VARIABLE = 'INLINE_LOCAL_VARIABLE'; | 126 static const String INLINE_LOCAL_VARIABLE = 'INLINE_LOCAL_VARIABLE'; |
127 static const String INLINE_METHOD = 'INLINE_METHOD'; | 127 static const String INLINE_METHOD = 'INLINE_METHOD'; |
128 static const String RENAME = 'RENAME'; | 128 static const String RENAME = 'RENAME'; |
129 } | 129 } |
OLD | NEW |