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

Side by Side Diff: sdk/lib/_internal/compiler/implementation/mirrors/dart2js_mirror.dart

Issue 16019002: Merge the dart:uri library into dart:core and update the Uri class (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Final cleanup Created 7 years, 6 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library mirrors_dart2js; 5 library mirrors_dart2js;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 import 'dart:collection' show LinkedHashMap; 8 import 'dart:collection' show LinkedHashMap;
9 import 'dart:uri';
10 9
11 import '../../compiler.dart' as api; 10 import '../../compiler.dart' as api;
12 import '../elements/elements.dart'; 11 import '../elements/elements.dart';
13 import '../apiimpl.dart' as apiimpl; 12 import '../apiimpl.dart' as apiimpl;
14 import '../scanner/scannerlib.dart' hide SourceString; 13 import '../scanner/scannerlib.dart' hide SourceString;
15 import '../dart2jslib.dart'; 14 import '../dart2jslib.dart';
16 import '../dart_types.dart'; 15 import '../dart_types.dart';
17 import '../source_file.dart'; 16 import '../source_file.dart';
18 import '../tree/tree.dart'; 17 import '../tree/tree.dart';
19 import '../util/util.dart' show Spannable, Link; 18 import '../util/util.dart' show Spannable, Link;
(...skipping 1669 matching lines...) Expand 10 before | Expand all | Expand 10 after
1689 * 1688 *
1690 * All API in this class is experimental. 1689 * All API in this class is experimental.
1691 */ 1690 */
1692 class BackDoor { 1691 class BackDoor {
1693 /// Return the compilation units comprising [library]. 1692 /// Return the compilation units comprising [library].
1694 static List<Mirror> compilationUnitsOf(Dart2JsLibraryMirror library) { 1693 static List<Mirror> compilationUnitsOf(Dart2JsLibraryMirror library) {
1695 return library._library.compilationUnits.toList().map( 1694 return library._library.compilationUnits.toList().map(
1696 (cu) => new Dart2JsCompilationUnitMirror(cu, library)).toList(); 1695 (cu) => new Dart2JsCompilationUnitMirror(cu, library)).toList();
1697 } 1696 }
1698 } 1697 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698