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 analyzer.src.generated.source; | 5 library analyzer.src.generated.source; |
6 | 6 |
7 import 'dart:collection'; | 7 import 'dart:collection'; |
8 import "dart:math" as math; | 8 import "dart:math" as math; |
9 | 9 |
10 import 'package:analyzer/file_system/file_system.dart'; | 10 import 'package:analyzer/file_system/file_system.dart'; |
11 import 'package:analyzer/source/package_map_resolver.dart'; | 11 import 'package:analyzer/source/package_map_resolver.dart'; |
12 import 'package:analyzer/src/context/source.dart'; | 12 import 'package:analyzer/src/context/source.dart'; |
13 import 'package:analyzer/src/generated/engine.dart'; | 13 import 'package:analyzer/src/generated/engine.dart'; |
14 import 'package:analyzer/src/generated/java_core.dart'; | |
15 import 'package:analyzer/src/generated/java_engine.dart'; | 14 import 'package:analyzer/src/generated/java_engine.dart'; |
16 import 'package:analyzer/src/generated/java_io.dart' show JavaFile; | 15 import 'package:analyzer/src/generated/java_io.dart' show JavaFile; |
17 import 'package:analyzer/src/generated/sdk.dart' show DartSdk; | 16 import 'package:analyzer/src/generated/sdk.dart' show DartSdk; |
18 import 'package:analyzer/src/generated/source_io.dart' show FileBasedSource; | 17 import 'package:analyzer/src/generated/source_io.dart' show FileBasedSource; |
19 import 'package:analyzer/task/model.dart'; | 18 import 'package:analyzer/task/model.dart'; |
20 import 'package:package_config/packages.dart'; | 19 import 'package:package_config/packages.dart'; |
21 import 'package:path/path.dart' as pathos; | 20 import 'package:path/path.dart' as pathos; |
22 | 21 |
23 /** | 22 /** |
24 * A function that is used to visit [ContentCache] entries. | 23 * A function that is used to visit [ContentCache] entries. |
(...skipping 940 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
965 Source resolveAbsolute(Uri uri, [Uri actualUri]); | 964 Source resolveAbsolute(Uri uri, [Uri actualUri]); |
966 | 965 |
967 /** | 966 /** |
968 * Return an absolute URI that represents the given [source], or `null` if a | 967 * Return an absolute URI that represents the given [source], or `null` if a |
969 * valid URI cannot be computed. | 968 * valid URI cannot be computed. |
970 * | 969 * |
971 * The computation should be based solely on [source.fullName]. | 970 * The computation should be based solely on [source.fullName]. |
972 */ | 971 */ |
973 Uri restoreAbsolute(Source source) => null; | 972 Uri restoreAbsolute(Source source) => null; |
974 } | 973 } |
OLD | NEW |