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

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

Issue 428303004: Breaking changes in 'analyzer' package. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rename Source.resolveRelative to resolveRelativeUri, soften version constraints Created 6 years, 4 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/resolver.dart ('k') | pkg/analyzer/lib/src/generated/sdk_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/sdk.dart
diff --git a/pkg/analyzer/lib/src/generated/sdk.dart b/pkg/analyzer/lib/src/generated/sdk.dart
index 84ccc2d6e1e5df8859189df6b67ff2b699f9f713..246ed83872d4b4c0b18cad219e9c74cde6ef6cc4 100644
--- a/pkg/analyzer/lib/src/generated/sdk.dart
+++ b/pkg/analyzer/lib/src/generated/sdk.dart
@@ -37,14 +37,14 @@ abstract class DartSdk {
static final String DEFAULT_VERSION = "0";
/**
- * Return the source representing the file with the given URI.
+ * Return a source representing the given file: URI if the file is in this SDK, or `null` if
+ * the file is not in this SDK.
*
- * @param kind the kind of URI that was originally resolved in order to produce an encoding with
- * the given URI
- * @param uri the URI of the file to be returned
- * @return the source representing the specified file
+ * @param uri the file URI for which a source is to be returned
+ * @return the source representing the given URI
+ * @throws
*/
- Source fromEncoding(UriKind kind, Uri uri);
+ Source fromFileUri(Uri uri);
/**
* Return the [AnalysisContext] used for all of the sources in this [DartSdk].
« no previous file with comments | « pkg/analyzer/lib/src/generated/resolver.dart ('k') | pkg/analyzer/lib/src/generated/sdk_io.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698