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

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

Issue 1530563003: Generate all runtime files from dart. (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: merged master Created 4 years, 11 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/typed_data.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.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
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/typed_data.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698