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

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

Issue 189043003: Improved 'has' properties translation. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 9 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
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 8b3b3e9cd1fe6c7c1fc72633d97f3d448bbb36ab..3a2cf31581b18237534f61c71b02bc9ed9d30d09 100644
--- a/pkg/analyzer/lib/src/generated/source.dart
+++ b/pkg/analyzer/lib/src/generated/source.dart
@@ -93,7 +93,7 @@ class SourceFactory {
try {
Uri uri = parseUriWithException(absoluteUri);
if (uri.isAbsolute) {
- return resolveUri2(null, uri);
+ return internalResolveUri(null, uri);
}
} on URISyntaxException catch (exception) {
}
@@ -171,7 +171,7 @@ class SourceFactory {
}
try {
// Force the creation of an escaped URI to deal with spaces, etc.
- return resolveUri2(containingSource, parseUriWithException(containedUri));
+ return internalResolveUri(containingSource, parseUriWithException(containedUri));
} on URISyntaxException catch (exception) {
return null;
}
@@ -212,7 +212,7 @@ class SourceFactory {
* @param containedUri the (possibly relative) URI to be resolved against the containing source
* @return the source representing the contained URI
*/
- Source resolveUri2(Source containingSource, Uri containedUri) {
+ Source internalResolveUri(Source containingSource, Uri containedUri) {
if (containedUri.isAbsolute) {
for (UriResolver resolver in _resolvers) {
Source result = resolver.resolveAbsolute(containedUri);

Powered by Google App Engine
This is Rietveld 408576698