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 domain.analysis; | 5 library domain.analysis; |
6 | 6 |
7 import 'dart:collection'; | 7 import 'dart:collection'; |
8 | 8 |
9 import 'package:analysis_server/src/analysis_server.dart'; | 9 import 'package:analysis_server/src/analysis_server.dart'; |
10 import 'package:analysis_server/src/computer/computer_hover.dart'; | 10 import 'package:analysis_server/src/computer/computer_hover.dart'; |
11 import 'package:analysis_server/src/computer/error.dart'; | 11 import 'package:analysis_server/src/computer/error.dart'; |
12 import 'package:analysis_server/src/constants.dart'; | 12 import 'package:analysis_server/src/constants.dart'; |
13 import 'package:analysis_server/src/protocol.dart'; | 13 import 'package:analysis_server/src/protocol.dart'; |
14 import 'package:analysis_services/constants.dart'; | 14 import 'package:analysis_server/src/services/constants.dart'; |
15 import 'package:analysis_services/correction/change.dart'; | 15 import 'package:analysis_server/src/services/correction/change.dart'; |
16 import 'package:analyzer/src/generated/ast.dart'; | 16 import 'package:analyzer/src/generated/ast.dart'; |
17 import 'package:analyzer/src/generated/engine.dart'; | 17 import 'package:analyzer/src/generated/engine.dart'; |
18 | 18 |
19 | 19 |
20 /** | 20 /** |
21 * Instances of the class [AnalysisDomainHandler] implement a [RequestHandler] | 21 * Instances of the class [AnalysisDomainHandler] implement a [RequestHandler] |
22 * that handles requests in the `analysis` domain. | 22 * that handles requests in the `analysis` domain. |
23 */ | 23 */ |
24 class AnalysisDomainHandler implements RequestHandler { | 24 class AnalysisDomainHandler implements RequestHandler { |
25 /** | 25 /** |
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
259 * content of the file, and [changes] should be null. 'change' means that | 259 * content of the file, and [changes] should be null. 'change' means that |
260 * [changes] contains changes to be applied to the file, and [content] should | 260 * [changes] contains changes to be applied to the file, and [content] should |
261 * be null. 'remove' means that the file should be read from the filesystem, | 261 * be null. 'remove' means that the file should be read from the filesystem, |
262 * and both [content] and [changes] should be null. | 262 * and both [content] and [changes] should be null. |
263 */ | 263 */ |
264 String type; | 264 String type; |
265 | 265 |
266 String content; | 266 String content; |
267 List<Edit> changes; | 267 List<Edit> changes; |
268 } | 268 } |
OLD | NEW |