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

Unified Diff: pkg/analyzer/lib/src/generated/source.dart

Issue 134533007: New analyzer snapshot. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/analyzer/lib/src/generated/sdk_io.dart ('k') | pkg/analyzer/lib/src/generated/source_io.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/lib/src/generated/source.dart
diff --git a/pkg/analyzer/lib/src/generated/source.dart b/pkg/analyzer/lib/src/generated/source.dart
index 4b031032c0f2d8f5923c720c9d09efd9fdfbd8f8..25e9df9f073bd4f38278b6816a689da366d52ef2 100644
--- a/pkg/analyzer/lib/src/generated/source.dart
+++ b/pkg/analyzer/lib/src/generated/source.dart
@@ -17,18 +17,18 @@ abstract class LocalSourcePredicate {
/**
* Instance of [LocalSourcePredicate] that always returns `false`.
*/
- static final LocalSourcePredicate FALSE = new LocalSourcePredicate_18();
+ static final LocalSourcePredicate FALSE = new LocalSourcePredicate_20();
/**
* Instance of [LocalSourcePredicate] that always returns `true`.
*/
- static final LocalSourcePredicate TRUE = new LocalSourcePredicate_19();
+ static final LocalSourcePredicate TRUE = new LocalSourcePredicate_21();
/**
* Instance of [LocalSourcePredicate] that returns `true` for all [Source]s
* except of SDK.
*/
- static final LocalSourcePredicate NOT_SDK = new LocalSourcePredicate_20();
+ static final LocalSourcePredicate NOT_SDK = new LocalSourcePredicate_22();
/**
* Determines if the given [Source] is local.
@@ -39,15 +39,15 @@ abstract class LocalSourcePredicate {
bool isLocal(Source source);
}
-class LocalSourcePredicate_18 implements LocalSourcePredicate {
+class LocalSourcePredicate_20 implements LocalSourcePredicate {
bool isLocal(Source source) => false;
}
-class LocalSourcePredicate_19 implements LocalSourcePredicate {
+class LocalSourcePredicate_21 implements LocalSourcePredicate {
bool isLocal(Source source) => true;
}
-class LocalSourcePredicate_20 implements LocalSourcePredicate {
+class LocalSourcePredicate_22 implements LocalSourcePredicate {
bool isLocal(Source source) => source.uriKind != UriKind.DART_URI;
}
@@ -162,7 +162,7 @@ class SourceFactory {
DartSdk get dartSdk {
for (UriResolver resolver in _resolvers) {
if (resolver is DartUriResolver) {
- DartUriResolver dartUriResolver = resolver as DartUriResolver;
+ DartUriResolver dartUriResolver = resolver;
return dartUriResolver.dartSdk;
}
}
« no previous file with comments | « pkg/analyzer/lib/src/generated/sdk_io.dart ('k') | pkg/analyzer/lib/src/generated/source_io.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698