| 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 'dart:async'; | 7 import 'dart:async'; |
| 8 | 8 |
| 9 import 'package:analysis_services/index/index.dart'; | 9 import 'package:analysis_server/src/services/index/index.dart'; |
| 10 import 'package:analyzer/src/generated/element.dart'; | 10 import 'package:analyzer/src/generated/element.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 /** | 15 /** |
| 16 * A container with information computed by an index - relations between | 16 * A container with information computed by an index - relations between |
| 17 * elements. | 17 * elements. |
| 18 */ | 18 */ |
| 19 abstract class IndexStore { | 19 abstract class IndexStore { |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 139 * any other elements and a location within the given sources. | 139 * any other elements and a location within the given sources. |
| 140 * | 140 * |
| 141 * This method should be invoked when multiple sources are no longer part of | 141 * This method should be invoked when multiple sources are no longer part of |
| 142 * the code base. | 142 * the code base. |
| 143 * | 143 * |
| 144 * [context] - the [AnalysisContext] in which [Source]s being removed. | 144 * [context] - the [AnalysisContext] in which [Source]s being removed. |
| 145 * [container] - the [SourceContainer] holding the sources being removed. | 145 * [container] - the [SourceContainer] holding the sources being removed. |
| 146 */ | 146 */ |
| 147 void removeSources(AnalysisContext context, SourceContainer container); | 147 void removeSources(AnalysisContext context, SourceContainer container); |
| 148 } | 148 } |
| OLD | NEW |