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

Unified Diff: pkg/analysis_server/lib/src/protocol.dart

Issue 582453002: Index and search of import prefixes. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: pkg/analysis_server/lib/src/protocol.dart
diff --git a/pkg/analysis_server/lib/src/protocol.dart b/pkg/analysis_server/lib/src/protocol.dart
index 1f8619bf866663cc596b1c80333095f2fe8a35b0..175c166394f9a976b449493265f61ba48c3eb333 100644
--- a/pkg/analysis_server/lib/src/protocol.dart
+++ b/pkg/analysis_server/lib/src/protocol.dart
@@ -235,6 +235,9 @@ ElementKind _elementKindFromEngine(engine.ElementKind kind) {
if (kind == engine.ElementKind.PARAMETER) {
return ElementKind.PARAMETER;
}
+ if (kind == engine.ElementKind.PREFIX) {
+ return ElementKind.PREFIX;
+ }
if (kind == engine.ElementKind.SETTER) {
return ElementKind.SETTER;
}
« no previous file with comments | « pkg/analysis_server/lib/src/generated_protocol.dart ('k') | pkg/analysis_server/lib/src/search/element_references.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698