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

Side by Side Diff: pkg/analysis_server/lib/src/services/index/index.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.index; 5 library services.index;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 8
9 import 'package:analyzer/src/generated/ast.dart'; 9 import 'package:analyzer/src/generated/ast.dart';
10 import 'package:analyzer/src/generated/element.dart'; 10 import 'package:analyzer/src/generated/element.dart';
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 */ 112 */
113 void stop(); 113 void stop();
114 } 114 }
115 115
116 116
117 /** 117 /**
118 * Constants used when populating and accessing the index. 118 * Constants used when populating and accessing the index.
119 */ 119 */
120 class IndexConstants { 120 class IndexConstants {
121 /** 121 /**
122 * Left: an Angular element.
123 * Is referenced at.
124 * Right: location.
125 */
126 static final Relationship ANGULAR_REFERENCE =
127 Relationship.getRelationship("angular-reference");
128
129 /**
130 * Left: an Angular component.
131 * Is closed "/>" at.
132 * Right: location.
133 */
134 static final Relationship ANGULAR_CLOSING_TAG_REFERENCE =
135 Relationship.getRelationship("angular-closing-tag-reference");
136
137 /**
138 * Left: the Universe or a Library. 122 * Left: the Universe or a Library.
139 * Defines an Element. 123 * Defines an Element.
140 * Right: an Element declaration. 124 * Right: an Element declaration.
141 */ 125 */
142 static final Relationship DEFINES = Relationship.getRelationship("defines"); 126 static final Relationship DEFINES = Relationship.getRelationship("defines");
143 127
144 /** 128 /**
145 * Left: class. 129 * Left: class.
146 * Is extended by. 130 * Is extended by.
147 * Right: other class declaration. 131 * Right: other class declaration.
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
370 static final UniverseElement INSTANCE = new UniverseElement._(); 354 static final UniverseElement INSTANCE = new UniverseElement._();
371 355
372 UniverseElement._() : super("--universe--", -1); 356 UniverseElement._() : super("--universe--", -1);
373 357
374 @override 358 @override
375 ElementKind get kind => ElementKind.UNIVERSE; 359 ElementKind get kind => ElementKind.UNIVERSE;
376 360
377 @override 361 @override
378 accept(ElementVisitor visitor) => null; 362 accept(ElementVisitor visitor) => null;
379 } 363 }
OLDNEW
« no previous file with comments | « pkg/analysis_server/lib/src/generated_protocol.dart ('k') | pkg/analysis_server/lib/src/services/search/search_engine.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698