Index: pkg/analyzer/lib/source/sdk_ext.dart |
diff --git a/pkg/analyzer/lib/source/sdk_ext.dart b/pkg/analyzer/lib/source/sdk_ext.dart |
index f4bcdb97007b7b9258c221ec229decd1e00dce78..3e833dfaa3f59fc67cef426b30a0552c5da45cbe 100644 |
--- a/pkg/analyzer/lib/source/sdk_ext.dart |
+++ b/pkg/analyzer/lib/source/sdk_ext.dart |
@@ -43,6 +43,13 @@ class SdkExtUriResolver extends UriResolver { |
/// Number of sdk extensions. |
int get length => _urlMappings.length; |
+ /** |
+ * Return a table mapping the names of extensions to the paths where those |
+ * extensions can be found. |
+ */ |
+ Map<String, String> get urlMappings => |
+ new Map<String, String>.from(_urlMappings); |
+ |
/// Return the path mapping for [libName] or null if there is none. |
String operator [](String libName) => _urlMappings[libName]; |