OLD | NEW |
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 domains.analysis.navigation; | 5 library domains.analysis.navigation; |
6 | 6 |
7 import 'dart:collection'; | 7 import 'dart:collection'; |
8 | 8 |
9 import 'package:analysis_server/analysis/navigation/navigation_core.dart'; | 9 import 'package:analysis_server/analysis/navigation_core.dart'; |
10 import 'package:analysis_server/src/analysis_server.dart'; | 10 import 'package:analysis_server/src/analysis_server.dart'; |
11 import 'package:analysis_server/src/collections.dart'; | 11 import 'package:analysis_server/src/collections.dart'; |
12 import 'package:analysis_server/src/protocol_server.dart' as protocol; | 12 import 'package:analysis_server/src/protocol_server.dart' as protocol; |
13 import 'package:analyzer/src/generated/engine.dart' | 13 import 'package:analyzer/src/generated/engine.dart' |
14 show AnalysisContext, AnalysisEngine; | 14 show AnalysisContext, AnalysisEngine; |
15 import 'package:analyzer/src/generated/java_engine.dart' show CaughtException; | 15 import 'package:analyzer/src/generated/java_engine.dart' show CaughtException; |
16 import 'package:analyzer/src/generated/source.dart' show Source; | 16 import 'package:analyzer/src/generated/source.dart' show Source; |
17 | 17 |
18 /** | 18 /** |
19 * Compute all known navigation information for the given part of [source]. | 19 * Compute all known navigation information for the given part of [source]. |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 location.offset, | 97 location.offset, |
98 location.length, | 98 location.length, |
99 location.startLine, | 99 location.startLine, |
100 location.startColumn); | 100 location.startColumn); |
101 targets.add(target); | 101 targets.add(target); |
102 targetMap[pair] = index; | 102 targetMap[pair] = index; |
103 } | 103 } |
104 return index; | 104 return index; |
105 } | 105 } |
106 } | 106 } |
OLD | NEW |