| 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 services.index_store; | 5 library services.index_store; |
| 6 | 6 |
| 7 import 'package:analysis_server/plugin/index/index_core.dart'; | 7 import 'package:analysis_server/src/provisional/index/index_core.dart'; |
| 8 import 'package:analysis_server/src/services/index/index.dart'; | 8 import 'package:analysis_server/src/services/index/index.dart'; |
| 9 import 'package:analyzer/src/generated/element.dart'; | 9 import 'package:analyzer/src/generated/element.dart'; |
| 10 import 'package:analyzer/src/generated/engine.dart'; | 10 import 'package:analyzer/src/generated/engine.dart'; |
| 11 | 11 |
| 12 /** | 12 /** |
| 13 * A container with information computed by an index - relations between | 13 * A container with information computed by an index - relations between |
| 14 * elements. | 14 * elements. |
| 15 */ | 15 */ |
| 16 abstract class InternalIndexStore extends IndexStore { | 16 abstract class InternalIndexStore extends IndexStore { |
| 17 /** | 17 /** |
| (...skipping 30 matching lines...) Expand all Loading... |
| 48 /** | 48 /** |
| 49 * Returns top-level [Element]s whose names satisfy to [nameFilter]. | 49 * Returns top-level [Element]s whose names satisfy to [nameFilter]. |
| 50 */ | 50 */ |
| 51 List<Element> getTopLevelDeclarations(ElementNameFilter nameFilter); | 51 List<Element> getTopLevelDeclarations(ElementNameFilter nameFilter); |
| 52 | 52 |
| 53 /** | 53 /** |
| 54 * Records the declaration of the given top-level [element]. | 54 * Records the declaration of the given top-level [element]. |
| 55 */ | 55 */ |
| 56 void recordTopLevelDeclaration(Element element); | 56 void recordTopLevelDeclaration(Element element); |
| 57 } | 57 } |
| OLD | NEW |