| 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; | 5 library analysis_server.plugin.edit.assist.assist_dart; |
| 6 | 6 |
| 7 import 'dart:async'; | 7 import 'dart:async'; |
| 8 | 8 |
| 9 import 'package:analysis_server/plugin/edit/assist/assist_core.dart'; | 9 import 'package:analysis_server/plugin/edit/assist/assist_core.dart'; |
| 10 import 'package:analyzer/src/generated/ast.dart'; | 10 import 'package:analyzer/dart/ast/ast.dart'; |
| 11 import 'package:analyzer/src/generated/engine.dart'; | 11 import 'package:analyzer/src/generated/engine.dart'; |
| 12 import 'package:analyzer/src/generated/source.dart'; | 12 import 'package:analyzer/src/generated/source.dart'; |
| 13 | 13 |
| 14 /** | 14 /** |
| 15 * An object used to provide context information for [DartAssistContributor]s. | 15 * An object used to provide context information for [DartAssistContributor]s. |
| 16 * | 16 * |
| 17 * Clients may not extend, implement or mix-in this class. | 17 * Clients may not extend, implement or mix-in this class. |
| 18 */ | 18 */ |
| 19 abstract class DartAssistContext { | 19 abstract class DartAssistContext { |
| 20 /** | 20 /** |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 103 /** | 103 /** |
| 104 * The start of the selection. | 104 * The start of the selection. |
| 105 */ | 105 */ |
| 106 int get selectionOffset => _context.selectionOffset; | 106 int get selectionOffset => _context.selectionOffset; |
| 107 | 107 |
| 108 /** | 108 /** |
| 109 * The source to get assists in. | 109 * The source to get assists in. |
| 110 */ | 110 */ |
| 111 Source get source => _context.source; | 111 Source get source => _context.source; |
| 112 } | 112 } |
| OLD | NEW |