| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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.js_emitter; | 5 library dart2js.js_emitter; |
| 6 | 6 |
| 7 import '../common.dart'; | 7 import '../common.dart'; |
| 8 | 8 |
| 9 import '../js/js.dart' as jsAst; | 9 import '../js/js.dart' as jsAst; |
| 10 | 10 |
| 11 import '../new_js_emitter/emitter.dart' as new_js_emitter; | 11 import '../new_js_emitter/emitter.dart' as new_js_emitter; |
| 12 | 12 |
| 13 import '../closure.dart' show | 13 import '../closure.dart' show |
| 14 ClosureClassElement, | 14 ClosureClassElement, |
| 15 ClosureClassMap, | 15 ClosureClassMap, |
| 16 ClosureFieldElement, | 16 ClosureFieldElement, |
| 17 CapturedVariable; | 17 CapturedVariable; |
| 18 | 18 |
| 19 import '../dart2jslib.dart' show | 19 import '../dart2jslib.dart' show |
| 20 CodeBuffer; | 20 CodeBuffer; |
| 21 | 21 |
| 22 import '../dart_types.dart' show |
| 23 TypedefType; |
| 24 |
| 22 import '../elements/elements.dart' show | 25 import '../elements/elements.dart' show |
| 23 TypeVariableElement, | |
| 24 ConstructorBodyElement, | 26 ConstructorBodyElement, |
| 25 ParameterElement; | 27 ParameterElement, |
| 28 TypeVariableElement; |
| 26 | 29 |
| 27 import '../js/js.dart' show | 30 import '../js/js.dart' show |
| 28 js, templateManager; | 31 js, templateManager; |
| 29 | 32 |
| 30 import '../js_backend/js_backend.dart' show | 33 import '../js_backend/js_backend.dart' show |
| 31 CheckedModeHelper, | 34 CheckedModeHelper, |
| 32 ConstantEmitter, | 35 ConstantEmitter, |
| 33 CustomElementsAnalysis, | 36 CustomElementsAnalysis, |
| 34 JavaScriptBackend, | 37 JavaScriptBackend, |
| 35 JavaScriptConstantCompiler, | 38 JavaScriptConstantCompiler, |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 part 'code_emitter_helper.dart'; | 81 part 'code_emitter_helper.dart'; |
| 79 part 'code_emitter_task.dart'; | 82 part 'code_emitter_task.dart'; |
| 80 part 'container_builder.dart'; | 83 part 'container_builder.dart'; |
| 81 part 'declarations.dart'; | 84 part 'declarations.dart'; |
| 82 part 'helpers.dart'; | 85 part 'helpers.dart'; |
| 83 part 'interceptor_emitter.dart'; | 86 part 'interceptor_emitter.dart'; |
| 84 part 'metadata_emitter.dart'; | 87 part 'metadata_emitter.dart'; |
| 85 part 'nsm_emitter.dart'; | 88 part 'nsm_emitter.dart'; |
| 86 part 'reflection_data_parser.dart'; | 89 part 'reflection_data_parser.dart'; |
| 87 part 'type_test_emitter.dart'; | 90 part 'type_test_emitter.dart'; |
| OLD | NEW |