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; | |
6 | |
7 import 'dart:async'; | 5 import 'dart:async'; |
8 import 'dart:collection'; | 6 import 'dart:collection'; |
9 import 'dart:convert'; | 7 import 'dart:convert'; |
10 import 'dart:core'; | 8 import 'dart:core'; |
11 | 9 |
12 import 'package:analysis_server/src/analysis_server.dart'; | 10 import 'package:analysis_server/src/analysis_server.dart'; |
13 import 'package:analyzer/context/context_root.dart'; | 11 import 'package:analyzer/context/context_root.dart'; |
14 import 'package:analyzer/file_system/file_system.dart'; | 12 import 'package:analyzer/file_system/file_system.dart'; |
15 import 'package:analyzer/instrumentation/instrumentation.dart'; | 13 import 'package:analyzer/instrumentation/instrumentation.dart'; |
16 import 'package:analyzer/plugin/resolver_provider.dart'; | 14 import 'package:analyzer/plugin/resolver_provider.dart'; |
(...skipping 1957 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1974 } | 1972 } |
1975 return _embedderLocator; | 1973 return _embedderLocator; |
1976 } | 1974 } |
1977 | 1975 |
1978 @override | 1976 @override |
1979 SdkExtensionFinder getSdkExtensionFinder(ResourceProvider resourceProvider) { | 1977 SdkExtensionFinder getSdkExtensionFinder(ResourceProvider resourceProvider) { |
1980 return _sdkExtensionFinder ??= | 1978 return _sdkExtensionFinder ??= |
1981 new SdkExtensionFinder(buildPackageMap(resourceProvider)); | 1979 new SdkExtensionFinder(buildPackageMap(resourceProvider)); |
1982 } | 1980 } |
1983 } | 1981 } |
OLD | NEW |