Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(114)

Side by Side Diff: pkg/analyzer/lib/src/generated/source_io.dart

Issue 2320733003: Remove final references to PackageUriResolver (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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_io; 5 library analyzer.src.generated.source_io;
6 6
7 import 'dart:collection'; 7 import 'dart:collection';
8 8
9 import 'package:analyzer/src/generated/engine.dart'; 9 import 'package:analyzer/src/generated/engine.dart';
10 import 'package:analyzer/src/generated/java_core.dart'; 10 import 'package:analyzer/src/generated/java_core.dart';
(...skipping 332 matching lines...) Expand 10 before | Expand all | Expand 10 after
343 } 343 }
344 344
345 /** 345 /**
346 * Instances of the class `PackageUriResolver` resolve `package` URI's in the co ntext of 346 * Instances of the class `PackageUriResolver` resolve `package` URI's in the co ntext of
347 * an application. 347 * an application.
348 * 348 *
349 * For the purposes of sharing analysis, the path to each package under the "pac kages" directory 349 * For the purposes of sharing analysis, the path to each package under the "pac kages" directory
350 * should be canonicalized, but to preserve relative links within a package, the remainder of the 350 * should be canonicalized, but to preserve relative links within a package, the remainder of the
351 * path from the package directory to the leaf should not. 351 * path from the package directory to the leaf should not.
352 */ 352 */
353 @deprecated
353 class PackageUriResolver extends UriResolver { 354 class PackageUriResolver extends UriResolver {
354 /** 355 /**
355 * The name of the `package` scheme. 356 * The name of the `package` scheme.
356 */ 357 */
357 static String PACKAGE_SCHEME = "package"; 358 static String PACKAGE_SCHEME = "package";
358 359
359 /** 360 /**
360 * Log exceptions thrown with the message "Required key not available" only on ce. 361 * Log exceptions thrown with the message "Required key not available" only on ce.
361 */ 362 */
362 static bool _CanLogRequiredKeyIoException = true; 363 static bool _CanLogRequiredKeyIoException = true;
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
567 } 568 }
568 569
569 /** 570 /**
570 * Return `true` if the given URI is a `file` URI. 571 * Return `true` if the given URI is a `file` URI.
571 * 572 *
572 * @param uri the URI being tested 573 * @param uri the URI being tested
573 * @return `true` if the given URI is a `file` URI 574 * @return `true` if the given URI is a `file` URI
574 */ 575 */
575 static bool isFileUri(Uri uri) => uri.scheme == FILE_SCHEME; 576 static bool isFileUri(Uri uri) => uri.scheme == FILE_SCHEME;
576 } 577 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698