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

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

Issue 107833002: New analyzer snapshot. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years 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 | Annotate | Revision Log
« no previous file with comments | « pkg/analyzer/lib/src/generated/source.dart ('k') | pkg/analyzer/pubspec.yaml » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // This code was auto-generated, is not intended to be edited, and is subject to 1 // This code was auto-generated, is not intended to be edited, and is subject to
2 // significant change. Please see the README file for more information. 2 // significant change. Please see the README file for more information.
3 3
4 library engine.source.io; 4 library engine.source.io;
5 5
6 import 'source.dart'; 6 import 'source.dart';
7 import 'java_core.dart'; 7 import 'java_core.dart';
8 import 'java_io.dart'; 8 import 'java_io.dart';
9 import 'engine.dart' show AnalysisContext, AnalysisEngine; 9 import 'engine.dart' show AnalysisContext, AnalysisEngine;
10 export 'source.dart'; 10 export 'source.dart';
11 11
12 /** 12 /**
13 * Instances of interface `LocalSourcePredicate` are used to determine if the gi ven 13 * Instances of interface `LocalSourcePredicate` are used to determine if the gi ven
14 * [Source] is "local" in some sense, so can be updated. 14 * [Source] is "local" in some sense, so can be updated.
15 * 15 *
16 * @coverage dart.engine.source 16 * @coverage dart.engine.source
17 */ 17 */
18 abstract class LocalSourcePredicate { 18 abstract class LocalSourcePredicate {
19 /** 19 /**
20 * Instance of [LocalSourcePredicate] that always returns `false`. 20 * Instance of [LocalSourcePredicate] that always returns `false`.
21 */ 21 */
22 static final LocalSourcePredicate _FALSE = new LocalSourcePredicate_15(); 22 static final LocalSourcePredicate FALSE = new LocalSourcePredicate_15();
23 23
24 /** 24 /**
25 * Instance of [LocalSourcePredicate] that always returns `true`. 25 * Instance of [LocalSourcePredicate] that always returns `true`.
26 */ 26 */
27 static final LocalSourcePredicate _TRUE = new LocalSourcePredicate_16(); 27 static final LocalSourcePredicate TRUE = new LocalSourcePredicate_16();
28 28
29 /** 29 /**
30 * Instance of [LocalSourcePredicate] that returns `true` for all [Source]s 30 * Instance of [LocalSourcePredicate] that returns `true` for all [Source]s
31 * except of SDK. 31 * except of SDK.
32 */ 32 */
33 static final LocalSourcePredicate _NOT_SDK = new LocalSourcePredicate_17(); 33 static final LocalSourcePredicate NOT_SDK = new LocalSourcePredicate_17();
34 34
35 /** 35 /**
36 * Determines if the given [Source] is local. 36 * Determines if the given [Source] is local.
37 * 37 *
38 * @param source the [Source] to analyze 38 * @param source the [Source] to analyze
39 * @return `true` if the given [Source] is local 39 * @return `true` if the given [Source] is local
40 */ 40 */
41 bool isLocal(Source source); 41 bool isLocal(Source source);
42 } 42 }
43 43
(...skipping 360 matching lines...) Expand 10 before | Expand all | Expand 10 after
404 return null; 404 return null;
405 } 405 }
406 406
407 Source resolveAbsolute(ContentCache contentCache, Uri uri) { 407 Source resolveAbsolute(ContentCache contentCache, Uri uri) {
408 if (!isFileUri(uri)) { 408 if (!isFileUri(uri)) {
409 return null; 409 return null;
410 } 410 }
411 return new FileBasedSource.con1(contentCache, new JavaFile.fromUri(uri)); 411 return new FileBasedSource.con1(contentCache, new JavaFile.fromUri(uri));
412 } 412 }
413 } 413 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/generated/source.dart ('k') | pkg/analyzer/pubspec.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698