| 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/constants.dart'; | 11 import 'package:analysis_server/src/constants.dart'; |
| 11 import 'package:analysis_server/src/protocol.dart'; | 12 import 'package:analysis_server/src/protocol.dart'; |
| 13 import 'package:analysis_services/constants.dart'; |
| 12 import 'package:analyzer/src/generated/engine.dart'; | 14 import 'package:analyzer/src/generated/engine.dart'; |
| 13 import 'package:analyzer/src/generated/ast.dart'; | 15 import 'package:analyzer/src/generated/ast.dart'; |
| 14 import 'package:analysis_server/src/computer/computer_hover.dart'; | |
| 15 | 16 |
| 16 /** | 17 /** |
| 17 * Instances of the class [AnalysisDomainHandler] implement a [RequestHandler] | 18 * Instances of the class [AnalysisDomainHandler] implement a [RequestHandler] |
| 18 * that handles requests in the `analysis` domain. | 19 * that handles requests in the `analysis` domain. |
| 19 */ | 20 */ |
| 20 class AnalysisDomainHandler implements RequestHandler { | 21 class AnalysisDomainHandler implements RequestHandler { |
| 21 /** | 22 /** |
| 22 * The analysis server that is using this handler to process requests. | 23 * The analysis server that is using this handler to process requests. |
| 23 */ | 24 */ |
| 24 final AnalysisServer server; | 25 final AnalysisServer server; |
| (...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 221 | 222 |
| 222 /** | 223 /** |
| 223 * A description of the change to the content of a file. | 224 * A description of the change to the content of a file. |
| 224 */ | 225 */ |
| 225 class ContentChange { | 226 class ContentChange { |
| 226 String content; | 227 String content; |
| 227 int offset; | 228 int offset; |
| 228 int oldLength; | 229 int oldLength; |
| 229 int newLength; | 230 int newLength; |
| 230 } | 231 } |
| OLD | NEW |