OLD | NEW |
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, 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 analysis_server.plugin.edit.assist.assist_dart; | |
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:analyzer/dart/ast/ast.dart'; | 8 import 'package:analyzer/dart/ast/ast.dart'; |
11 import 'package:analyzer/src/dart/analysis/ast_provider_context.dart'; | 9 import 'package:analyzer/src/dart/analysis/ast_provider_context.dart'; |
12 import 'package:analyzer/src/dart/element/ast_provider.dart'; | 10 import 'package:analyzer/src/dart/element/ast_provider.dart'; |
13 import 'package:analyzer/src/generated/engine.dart'; | 11 import 'package:analyzer/src/generated/engine.dart'; |
14 import 'package:analyzer/src/generated/source.dart'; | 12 import 'package:analyzer/src/generated/source.dart'; |
15 | 13 |
16 /** | 14 /** |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 /** | 114 /** |
117 * The start of the selection. | 115 * The start of the selection. |
118 */ | 116 */ |
119 int get selectionOffset => _context.selectionOffset; | 117 int get selectionOffset => _context.selectionOffset; |
120 | 118 |
121 /** | 119 /** |
122 * The source to get assists in. | 120 * The source to get assists in. |
123 */ | 121 */ |
124 Source get source => _context.source; | 122 Source get source => _context.source; |
125 } | 123 } |
OLD | NEW |