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

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

Issue 1303033010: Navigation extension point. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: tweaks Created 5 years, 4 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
« no previous file with comments | « pkg/analysis_server/lib/src/plugin/server_plugin.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analysis_server/lib/src/protocol_server.dart
diff --git a/pkg/analysis_server/lib/src/protocol_server.dart b/pkg/analysis_server/lib/src/protocol_server.dart
index ea9445767efccfe185694744cd8ba839d5918563..ff98970439143e62151445f9d891370bfa360e19 100644
--- a/pkg/analysis_server/lib/src/protocol_server.dart
+++ b/pkg/analysis_server/lib/src/protocol_server.dart
@@ -257,16 +257,6 @@ Location newLocation_fromUnit(
return _locationForArgs(context, source, range);
}
-NavigationTarget newNavigationTarget_fromElement(
- engine.Element element, int fileToIndex(String file)) {
- ElementKind kind = newElementKind_fromEngine(element.kind);
- Location location = newLocation_fromElement(element);
- String file = location.file;
- int fileIndex = fileToIndex(file);
- return new NavigationTarget(kind, fileIndex, location.offset, location.length,
- location.startLine, location.startColumn);
-}
-
/**
* Construct based on an element from the analyzer engine.
*/
« no previous file with comments | « pkg/analysis_server/lib/src/plugin/server_plugin.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698