Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 dart2js; | 5 library dart2js; |
| 6 | 6 |
| 7 import 'dart:async'; | 7 import 'dart:async'; |
| 8 import 'dart:collection' show Queue; | 8 import 'dart:collection' show Queue; |
| 9 import 'dart:convert'; | |
|
ahe
2013/11/27 19:28:53
I'm pretty sure it is not appropriate to include t
sigurdm
2013/11/29 10:39:37
Done.
| |
| 9 | 10 |
| 10 import 'closure.dart' as closureMapping; | 11 import 'closure.dart' as closureMapping; |
| 11 import 'dart_backend/dart_backend.dart' as dart_backend; | 12 import 'dart_backend/dart_backend.dart' as dart_backend; |
| 12 import 'dart_types.dart'; | 13 import 'dart_types.dart'; |
| 13 import 'elements/elements.dart'; | 14 import 'elements/elements.dart'; |
| 14 import 'elements/modelx.dart' | 15 import 'elements/modelx.dart' |
| 15 show ErroneousElementX, | 16 show ErroneousElementX, |
| 16 ClassElementX, | 17 ClassElementX, |
| 17 CompilationUnitElementX, | 18 CompilationUnitElementX, |
| 18 LibraryElementX, | 19 LibraryElementX, |
| 19 PrefixElementX, | 20 PrefixElementX, |
| 20 VoidElementX; | 21 VoidElementX; |
| 21 import 'js_backend/js_backend.dart' as js_backend; | 22 import 'js_backend/js_backend.dart' as js_backend; |
| 22 import 'native_handler.dart' as native; | 23 import 'native_handler.dart' as native; |
| 23 import 'scanner/scannerlib.dart'; | 24 import 'scanner/scannerlib.dart'; |
| 24 import 'ssa/ssa.dart'; | 25 import 'ssa/ssa.dart'; |
| 25 import 'tree/tree.dart'; | 26 import 'tree/tree.dart'; |
| 26 import 'ir/ir_builder.dart' show IrBuilderTask; | 27 import 'ir/ir_builder.dart' show IrBuilderTask; |
| 27 import 'universe/universe.dart'; | 28 import 'universe/universe.dart'; |
| 28 import 'util/util.dart'; | 29 import 'util/util.dart'; |
| 29 import 'util/characters.dart' show $_; | 30 import 'util/characters.dart' show $_; |
| 30 import '../compiler.dart' as api; | 31 import '../compiler.dart' as api; |
| 31 import 'patch_parser.dart'; | 32 import 'patch_parser.dart'; |
| 32 import 'types/types.dart' as ti; | 33 import 'types/types.dart' as ti; |
| 33 import 'resolution/resolution.dart'; | 34 import 'resolution/resolution.dart'; |
| 34 import 'source_file.dart' show SourceFile; | 35 import 'source_file.dart' show SourceFile; |
| 35 import 'js/js.dart' as js; | 36 import 'js/js.dart' as js; |
| 36 import 'deferred_load.dart' show DeferredLoadTask; | 37 import 'deferred_load.dart' show DeferredLoadTask; |
| 37 import 'mirrors_used.dart' show MirrorUsageAnalyzerTask; | 38 import 'mirrors_used.dart' show MirrorUsageAnalyzerTask; |
| 39 import 'dart2js.dart' as commandline; | |
|
ahe
2013/11/27 19:28:53
You cannot include this library.
The dart2js comm
sigurdm
2013/11/29 10:39:37
Done.
| |
| 38 | 40 |
| 39 export 'resolution/resolution.dart' show TreeElements, TreeElementMapping; | 41 export 'resolution/resolution.dart' show TreeElements, TreeElementMapping; |
| 40 export 'scanner/scannerlib.dart' show isUserDefinableOperator, | 42 export 'scanner/scannerlib.dart' show isUserDefinableOperator, |
| 41 isUnaryOperator, | 43 isUnaryOperator, |
| 42 isBinaryOperator, | 44 isBinaryOperator, |
| 43 isTernaryOperator, | 45 isTernaryOperator, |
| 44 isMinusOperator; | 46 isMinusOperator; |
| 45 export 'universe/universe.dart' show Selector, TypedSelector; | 47 export 'universe/universe.dart' show Selector, TypedSelector; |
| 46 | 48 |
| 47 part 'code_buffer.dart'; | 49 part 'code_buffer.dart'; |
| 48 part 'compile_time_constants.dart'; | 50 part 'compile_time_constants.dart'; |
| 49 part 'compiler.dart'; | 51 part 'compiler.dart'; |
| 52 part 'dump_info.dart'; | |
| 50 part 'constants.dart'; | 53 part 'constants.dart'; |
| 51 part 'constant_system.dart'; | 54 part 'constant_system.dart'; |
| 52 part 'constant_system_dart.dart'; | 55 part 'constant_system_dart.dart'; |
| 53 part 'diagnostic_listener.dart'; | 56 part 'diagnostic_listener.dart'; |
| 54 part 'enqueue.dart'; | 57 part 'enqueue.dart'; |
| 55 part 'library_loader.dart'; | 58 part 'library_loader.dart'; |
| 56 part 'resolved_visitor.dart'; | 59 part 'resolved_visitor.dart'; |
| 57 part 'script.dart'; | 60 part 'script.dart'; |
| 58 part 'tree_validator.dart'; | 61 part 'tree_validator.dart'; |
| 59 part 'typechecker.dart'; | 62 part 'typechecker.dart'; |
| 60 part 'warnings.dart'; | 63 part 'warnings.dart'; |
| 61 part 'world.dart'; | 64 part 'world.dart'; |
| OLD | NEW |