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

Unified Diff: pkg/analysis_server/lib/src/computer/computer_navigation.dart

Issue 721223002: Remove unused methods in analysis_server. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 1 month 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/computer/computer_navigation.dart
diff --git a/pkg/analysis_server/lib/src/computer/computer_navigation.dart b/pkg/analysis_server/lib/src/computer/computer_navigation.dart
index 5f87bcc873353ca6b2b098df135240389977fd51..c2af2b516a89a4763bd94cc6e8feea1f81f8da90 100644
--- a/pkg/analysis_server/lib/src/computer/computer_navigation.dart
+++ b/pkg/analysis_server/lib/src/computer/computer_navigation.dart
@@ -49,16 +49,6 @@ class DartUnitNavigationComputer {
_addRegion(offset, length, element);
}
- void _addRegion_nodeStart_nodeStart(AstNode a, AstNode b, Element element,
- {bool excludeLastChar: false}) {
- int offset = a.offset;
- int length = b.offset - offset;
- if (excludeLastChar) {
- length--;
- }
- _addRegion(offset, length, element);
- }
-
void _addRegion_tokenStart_nodeEnd(Token a, AstNode b, Element element) {
int offset = a.offset;
int length = b.end - offset;

Powered by Google App Engine
This is Rietveld 408576698