OLD | NEW |
1 dart_library.library('dart/mirrors', null, /* Imports */[ | 1 dart_library.library('dart/mirrors', null, /* Imports */[ |
2 "dart/_runtime", | 2 'dart/_runtime', |
3 'dart/core' | 3 'dart/core' |
4 ], /* Lazy imports */[ | 4 ], /* Lazy imports */[ |
5 'dart/_js_mirrors' | 5 'dart/_js_mirrors' |
6 ], function(exports, dart, core, _js_mirrors) { | 6 ], function(exports, dart, core, _js_mirrors) { |
7 'use strict'; | 7 'use strict'; |
8 let dartx = dart.dartx; | 8 let dartx = dart.dartx; |
9 class MirrorSystem extends core.Object { | 9 class MirrorSystem extends core.Object { |
10 findLibrary(libraryName) { | 10 findLibrary(libraryName) { |
11 return this.libraries.values[dartx.singleWhere](dart.fn(library => dart.eq
uals(library.simpleName, libraryName), core.bool, [LibraryMirror])); | 11 return this.libraries.values[dartx.singleWhere](dart.fn(library => dart.eq
uals(library.simpleName, libraryName), core.bool, [LibraryMirror])); |
12 } | 12 } |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
130 exports.FunctionTypeMirror = FunctionTypeMirror; | 130 exports.FunctionTypeMirror = FunctionTypeMirror; |
131 exports.TypeVariableMirror = TypeVariableMirror; | 131 exports.TypeVariableMirror = TypeVariableMirror; |
132 exports.TypedefMirror = TypedefMirror; | 132 exports.TypedefMirror = TypedefMirror; |
133 exports.MethodMirror = MethodMirror; | 133 exports.MethodMirror = MethodMirror; |
134 exports.VariableMirror = VariableMirror; | 134 exports.VariableMirror = VariableMirror; |
135 exports.ParameterMirror = ParameterMirror; | 135 exports.ParameterMirror = ParameterMirror; |
136 exports.SourceLocation = SourceLocation; | 136 exports.SourceLocation = SourceLocation; |
137 exports.Comment = Comment; | 137 exports.Comment = Comment; |
138 exports.MirrorsUsed = MirrorsUsed; | 138 exports.MirrorsUsed = MirrorsUsed; |
139 }); | 139 }); |
OLD | NEW |