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

Side by Side Diff: pkg/analysis_server/lib/src/services/search/search_engine.dart

Issue 842753004: Remove remaining references to Angular and Polymer from the analysis server. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 11 months 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 | Annotate | Revision Log
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.search_engine; 5 library services.search_engine;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 8
9 import 'package:analysis_server/src/services/index/index.dart'; 9 import 'package:analysis_server/src/services/index/index.dart';
10 import 'package:analysis_server/src/services/search/search_engine_internal.dart' ; 10 import 'package:analysis_server/src/services/search/search_engine_internal.dart' ;
11 import 'package:analyzer/src/generated/element.dart'; 11 import 'package:analyzer/src/generated/element.dart';
12 import 'package:analyzer/src/generated/java_core.dart'; 12 import 'package:analyzer/src/generated/java_core.dart';
13 import 'package:analyzer/src/generated/source.dart'; 13 import 'package:analyzer/src/generated/source.dart';
14 14
15 15
16 /** 16 /**
17 * Returns a new [SearchEngine] instance based on the given [Index]. 17 * Returns a new [SearchEngine] instance based on the given [Index].
18 */ 18 */
19 SearchEngine createSearchEngine(Index index) { 19 SearchEngine createSearchEngine(Index index) {
20 return new SearchEngineImpl(index); 20 return new SearchEngineImpl(index);
21 } 21 }
22 22
23 23
24 /** 24 /**
25 * Instances of the enum [MatchKind] represent the kind of reference that was 25 * Instances of the enum [MatchKind] represent the kind of reference that was
26 * found when a match represents a reference to an element. 26 * found when a match represents a reference to an element.
27 */ 27 */
28 class MatchKind { 28 class MatchKind {
29 /** 29 /**
30 * A reference to an Angular element.
31 */
32 static const MatchKind ANGULAR_REFERENCE =
33 const MatchKind('ANGULAR_REFERENCE');
34
35 /**
36 * A reference to an Angular element.
37 */
38 static const MatchKind ANGULAR_CLOSING_TAG_REFERENCE =
39 const MatchKind('ANGULAR_CLOSING_TAG_REFERENCE');
40
41 /**
42 * A declaration of an element. 30 * A declaration of an element.
43 */ 31 */
44 static const MatchKind DECLARATION = const MatchKind('DECLARATION'); 32 static const MatchKind DECLARATION = const MatchKind('DECLARATION');
45 33
46 /** 34 /**
47 * A reference to an element in which it is being read. 35 * A reference to an element in which it is being read.
48 */ 36 */
49 static const MatchKind READ = const MatchKind('READ'); 37 static const MatchKind READ = const MatchKind('READ');
50 38
51 /** 39 /**
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 buffer.write(", range="); 176 buffer.write(", range=");
189 buffer.write(sourceRange); 177 buffer.write(sourceRange);
190 buffer.write(", isResolved="); 178 buffer.write(", isResolved=");
191 buffer.write(isResolved); 179 buffer.write(isResolved);
192 buffer.write(", isQualified="); 180 buffer.write(", isQualified=");
193 buffer.write(isQualified); 181 buffer.write(isQualified);
194 buffer.write(")"); 182 buffer.write(")");
195 return buffer.toString(); 183 return buffer.toString();
196 } 184 }
197 } 185 }
OLDNEW
« no previous file with comments | « pkg/analysis_server/lib/src/services/index/index.dart ('k') | pkg/analysis_server/test/domain_analysis_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698