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

Unified Diff: sdk/lib/_internal/compiler/implementation/mirrors/dart2js_library_mirror.dart

Issue 189843003: Reapply "Access to imports in the VM's runtime mirrors. Extend test coverage of the source mirrors." (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
« no previous file with comments | « runtime/vm/symbols.h ('k') | sdk/lib/_internal/compiler/implementation/mirrors/source_mirrors.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/_internal/compiler/implementation/mirrors/dart2js_library_mirror.dart
diff --git a/sdk/lib/_internal/compiler/implementation/mirrors/dart2js_library_mirror.dart b/sdk/lib/_internal/compiler/implementation/mirrors/dart2js_library_mirror.dart
index ee87e742411ee7299c900d3440bd6be30a61487c..8772f1a2c5cb718637228587b076c6a5d02020de 100644
--- a/sdk/lib/_internal/compiler/implementation/mirrors/dart2js_library_mirror.dart
+++ b/sdk/lib/_internal/compiler/implementation/mirrors/dart2js_library_mirror.dart
@@ -9,7 +9,7 @@ class Dart2JsLibraryMirror
extends Dart2JsElementMirror
with ObjectMirrorMixin, ContainerMixin
implements LibrarySourceMirror {
- List<LibraryDependencyMirror> _libraryDependencies;
+ List<LibraryDependencySourceMirror> _libraryDependencies;
Dart2JsLibraryMirror(Dart2JsMirrorSystem system, LibraryElement library)
: super(system, library);
@@ -83,7 +83,7 @@ class Dart2JsLibraryMirror
void _ensureLibraryDependenciesAnalyzed() {
if (_libraryDependencies == null) {
- _libraryDependencies = <LibraryDependencyMirror>[];
+ _libraryDependencies = <LibraryDependencySourceMirror>[];
for (LibraryTag node in _element.tags.reverse()) {
LibraryDependency libraryDependency = node.asLibraryDependency();
if (libraryDependency != null) {
@@ -105,7 +105,7 @@ class Dart2JsLibraryMirror
}
}
-class Dart2JsLibraryDependencyMirror implements LibraryDependencyMirror {
+class Dart2JsLibraryDependencyMirror implements LibraryDependencySourceMirror {
final LibraryDependency _node;
final Dart2JsLibraryMirror _sourceLibrary;
final Dart2JsLibraryMirror _targetLibrary;
@@ -142,7 +142,7 @@ class Dart2JsLibraryDependencyMirror implements LibraryDependencyMirror {
LibraryMirror get targetLibrary => _targetLibrary;
- String get prefix {
+ /*String*/ get prefix {
Import import = _node.asImport();
if (import != null && import.prefix != null) {
return import.prefix.source;
@@ -155,8 +155,8 @@ class Dart2JsLibraryDependencyMirror implements LibraryDependencyMirror {
bool get isExport => _node.asExport() != null;
}
-class Dart2JsCombinatorMirror implements CombinatorMirror {
- final List<String> identifiers;
+class Dart2JsCombinatorMirror implements CombinatorSourceMirror {
+ final List/*<String>*/ identifiers;
final bool isShow;
Dart2JsCombinatorMirror(this.identifiers, {bool isShow: true})
« no previous file with comments | « runtime/vm/symbols.h ('k') | sdk/lib/_internal/compiler/implementation/mirrors/source_mirrors.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698