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 test.services.correction.assist; | |
6 | |
7 import 'dart:async'; | 5 import 'dart:async'; |
8 | 6 |
9 import 'package:analysis_server/plugin/edit/assist/assist_core.dart'; | 7 import 'package:analysis_server/plugin/edit/assist/assist_core.dart'; |
10 import 'package:analysis_server/plugin/edit/assist/assist_dart.dart'; | 8 import 'package:analysis_server/plugin/edit/assist/assist_dart.dart'; |
11 import 'package:analysis_server/plugin/protocol/protocol.dart'; | 9 import 'package:analysis_server/protocol/protocol_generated.dart'; |
12 import 'package:analysis_server/src/plugin/server_plugin.dart'; | 10 import 'package:analysis_server/src/plugin/server_plugin.dart'; |
13 import 'package:analysis_server/src/services/correction/assist.dart'; | 11 import 'package:analysis_server/src/services/correction/assist.dart'; |
14 import 'package:analysis_server/src/services/correction/assist_internal.dart'; | 12 import 'package:analysis_server/src/services/correction/assist_internal.dart'; |
15 import 'package:analyzer/dart/ast/ast.dart'; | 13 import 'package:analyzer/dart/ast/ast.dart'; |
16 import 'package:analyzer/dart/ast/standard_resolution_map.dart'; | 14 import 'package:analyzer/dart/ast/standard_resolution_map.dart'; |
17 import 'package:analyzer/dart/element/element.dart'; | 15 import 'package:analyzer/dart/element/element.dart'; |
18 import 'package:analyzer/file_system/file_system.dart'; | 16 import 'package:analyzer/file_system/file_system.dart'; |
19 import 'package:analyzer/source/package_map_resolver.dart'; | 17 import 'package:analyzer/source/package_map_resolver.dart'; |
20 import 'package:analyzer/src/generated/engine.dart'; | 18 import 'package:analyzer/src/generated/engine.dart'; |
21 import 'package:analyzer/src/generated/source.dart'; | 19 import 'package:analyzer/src/generated/source.dart'; |
(...skipping 4701 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4723 | 4721 |
4724 @override | 4722 @override |
4725 final AnalysisContext analysisContext; | 4723 final AnalysisContext analysisContext; |
4726 | 4724 |
4727 @override | 4725 @override |
4728 final CompilationUnit unit; | 4726 final CompilationUnit unit; |
4729 | 4727 |
4730 _DartAssistContextForValues(this.source, this.selectionOffset, | 4728 _DartAssistContextForValues(this.source, this.selectionOffset, |
4731 this.selectionLength, this.analysisContext, this.unit); | 4729 this.selectionLength, this.analysisContext, this.unit); |
4732 } | 4730 } |
OLD | NEW |