Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(125)

Side by Side Diff: pkg/analysis_server/lib/src/services/index/index_store.dart

Issue 1471073002: Make index provisional API. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698