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 context.directory.manager; | 5 library context.directory.manager; |
6 | 6 |
7 import 'dart:async'; | 7 import 'dart:async'; |
8 import 'dart:collection'; | 8 import 'dart:collection'; |
9 import 'dart:convert'; | 9 import 'dart:convert'; |
10 import 'dart:core' hide Resource; | 10 import 'dart:core'; |
11 | 11 |
12 import 'package:analysis_server/src/analysis_server.dart'; | 12 import 'package:analysis_server/src/analysis_server.dart'; |
13 import 'package:analyzer/file_system/file_system.dart'; | 13 import 'package:analyzer/file_system/file_system.dart'; |
14 import 'package:analyzer/instrumentation/instrumentation.dart'; | 14 import 'package:analyzer/instrumentation/instrumentation.dart'; |
15 import 'package:analyzer/plugin/options.dart'; | 15 import 'package:analyzer/plugin/options.dart'; |
16 import 'package:analyzer/plugin/resolver_provider.dart'; | 16 import 'package:analyzer/plugin/resolver_provider.dart'; |
17 import 'package:analyzer/source/analysis_options_provider.dart'; | 17 import 'package:analyzer/source/analysis_options_provider.dart'; |
18 import 'package:analyzer/source/config.dart'; | 18 import 'package:analyzer/source/config.dart'; |
19 import 'package:analyzer/source/package_map_provider.dart'; | 19 import 'package:analyzer/source/package_map_provider.dart'; |
20 import 'package:analyzer/source/package_map_resolver.dart'; | 20 import 'package:analyzer/source/package_map_resolver.dart'; |
(...skipping 1833 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1854 } | 1854 } |
1855 return _embedderLocator; | 1855 return _embedderLocator; |
1856 } | 1856 } |
1857 | 1857 |
1858 @override | 1858 @override |
1859 SdkExtensionFinder getSdkExtensionFinder(ResourceProvider resourceProvider) { | 1859 SdkExtensionFinder getSdkExtensionFinder(ResourceProvider resourceProvider) { |
1860 return _sdkExtensionFinder ??= | 1860 return _sdkExtensionFinder ??= |
1861 new SdkExtensionFinder(buildPackageMap(resourceProvider)); | 1861 new SdkExtensionFinder(buildPackageMap(resourceProvider)); |
1862 } | 1862 } |
1863 } | 1863 } |
OLD | NEW |