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

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

Issue 1907323002: Code clean-up (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 4 years, 8 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';
11 import 'package:analyzer/src/generated/java_engine.dart'; 11 import 'package:analyzer/src/generated/java_engine.dart';
12 import 'package:analyzer/src/generated/java_io.dart'; 12 import 'package:analyzer/src/generated/java_io.dart';
13 import 'package:analyzer/src/generated/source.dart'; 13 import 'package:analyzer/src/generated/source.dart';
14 import 'package:analyzer/src/generated/utilities_dart.dart';
15 14
16 export 'package:analyzer/src/generated/source.dart'; 15 export 'package:analyzer/src/generated/source.dart';
17 16
18 /** 17 /**
19 * Instances of the class [DirectoryBasedSourceContainer] represent a source con tainer that 18 * Instances of the class [DirectoryBasedSourceContainer] represent a source con tainer that
20 * contains all sources within a given directory. 19 * contains all sources within a given directory.
21 */ 20 */
22 class DirectoryBasedSourceContainer implements SourceContainer { 21 class DirectoryBasedSourceContainer implements SourceContainer {
23 /** 22 /**
24 * The container's path (not `null`). 23 * The container's path (not `null`).
(...skipping 529 matching lines...) Expand 10 before | Expand all | Expand 10 after
554 } 553 }
555 554
556 /** 555 /**
557 * Return `true` if the given URI is a `file` URI. 556 * Return `true` if the given URI is a `file` URI.
558 * 557 *
559 * @param uri the URI being tested 558 * @param uri the URI being tested
560 * @return `true` if the given URI is a `file` URI 559 * @return `true` if the given URI is a `file` URI
561 */ 560 */
562 static bool isFileUri(Uri uri) => uri.scheme == FILE_SCHEME; 561 static bool isFileUri(Uri uri) => uri.scheme == FILE_SCHEME;
563 } 562 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/generated/resolver.dart ('k') | pkg/analyzer/lib/src/task/strong/checker.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698