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

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

Issue 2933753002: Run the sorter to reduce code churn (Closed)
Patch Set: Created 3 years, 6 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
« no previous file with comments | « pkg/analyzer/lib/src/generated/resolver.dart ('k') | pkg/analyzer/lib/src/lint/registry.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2017, 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.workspace; 5 library analyzer.src.generated.workspace;
6 6
7 import 'package:analyzer/file_system/file_system.dart'; 7 import 'package:analyzer/file_system/file_system.dart';
8 import 'package:analyzer/src/generated/sdk.dart'; 8 import 'package:analyzer/src/generated/sdk.dart';
9 import 'package:analyzer/src/generated/source.dart'; 9 import 'package:analyzer/src/generated/source.dart';
10 10
11 /** 11 /**
12 * Abstract superclass of classes that provide information about the workspace 12 * Abstract superclass of classes that provide information about the workspace
13 * in which analysis is being performed. 13 * in which analysis is being performed.
14 */ 14 */
15 abstract class Workspace { 15 abstract class Workspace {
16 /** 16 /**
17 * Return `true` if this workspace defines a single "project"
18 * and that "project" depends upon flutter,
19 */
20 bool get hasFlutterDependency => false;
21
22 /**
17 * Return a map of package sources. 23 * Return a map of package sources.
18 */ 24 */
19 Map<String, List<Folder>> get packageMap; 25 Map<String, List<Folder>> get packageMap;
20 26
21 /** 27 /**
22 * The [UriResolver] that can resolve `package` URIs. 28 * The [UriResolver] that can resolve `package` URIs.
23 */ 29 */
24 UriResolver get packageUriResolver; 30 UriResolver get packageUriResolver;
25 31
26 /** 32 /**
27 * Return `true` if this workspace defines a single "project"
28 * and that "project" depends upon flutter,
29 */
30 bool get hasFlutterDependency => false;
31
32 /**
33 * Create the [SourceFactory] for resolving Uris to [Source]s. 33 * Create the [SourceFactory] for resolving Uris to [Source]s.
34 * The [sdk] may be `null`. 34 * The [sdk] may be `null`.
35 */ 35 */
36 SourceFactory createSourceFactory(DartSdk sdk); 36 SourceFactory createSourceFactory(DartSdk sdk);
37 } 37 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/generated/resolver.dart ('k') | pkg/analyzer/lib/src/lint/registry.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698