| OLD | NEW |
| 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, 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 domains.analysis.navigation; | |
| 6 | |
| 7 import 'dart:collection'; | 5 import 'dart:collection'; |
| 8 | 6 |
| 9 import 'package:analysis_server/plugin/analysis/navigation/navigation_core.dart'
; | 7 import 'package:analysis_server/plugin/analysis/navigation/navigation_core.dart'
; |
| 10 import 'package:analysis_server/src/analysis_server.dart'; | 8 import 'package:analysis_server/src/analysis_server.dart'; |
| 11 import 'package:analysis_server/src/collections.dart'; | 9 import 'package:analysis_server/src/collections.dart'; |
| 12 import 'package:analysis_server/src/protocol_server.dart' as protocol; | 10 import 'package:analysis_server/src/protocol_server.dart' as protocol; |
| 13 import 'package:analyzer/exception/exception.dart'; | 11 import 'package:analyzer/exception/exception.dart'; |
| 14 import 'package:analyzer/src/generated/engine.dart' | 12 import 'package:analyzer/src/generated/engine.dart' |
| 15 show AnalysisContext, AnalysisEngine; | 13 show AnalysisContext, AnalysisEngine; |
| 16 import 'package:analyzer/src/generated/source.dart' show Source, SourceRange; | 14 import 'package:analyzer/src/generated/source.dart' show Source, SourceRange; |
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 110 location.offset, | 108 location.offset, |
| 111 location.length, | 109 location.length, |
| 112 location.startLine, | 110 location.startLine, |
| 113 location.startColumn); | 111 location.startColumn); |
| 114 targets.add(target); | 112 targets.add(target); |
| 115 targetMap[pair] = index; | 113 targetMap[pair] = index; |
| 116 } | 114 } |
| 117 return index; | 115 return index; |
| 118 } | 116 } |
| 119 } | 117 } |
| OLD | NEW |