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

Side by Side Diff: lib/runtime/dart/mirrors.js

Issue 1700153002: Wrapperless dart:html and friends (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: A couple more tweaks Created 4 years, 10 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 unified diff | Download patch
« no previous file with comments | « lib/runtime/dart/math.js ('k') | lib/runtime/dart/svg.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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[dartx.values][dartx.singleWhere](dart.fn(library => dart.equals(library.simpleName, libraryName), core.bool, [LibraryMirror]));
12 } 12 }
13 static getName(symbol) { 13 static getName(symbol) {
14 return _js_mirrors.getName(symbol); 14 return _js_mirrors.getName(symbol);
15 } 15 }
16 static getSymbol(name, library) { 16 static getSymbol(name, library) {
17 if (library === void 0) library = null; 17 if (library === void 0) library = null;
18 return _js_mirrors.getSymbol(name, library); 18 return _js_mirrors.getSymbol(name, library);
19 } 19 }
20 } 20 }
21 dart.setSignature(MirrorSystem, { 21 dart.setSignature(MirrorSystem, {
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 });
OLDNEW
« no previous file with comments | « lib/runtime/dart/math.js ('k') | lib/runtime/dart/svg.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698