| 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 'dart:collection' show Queue; | 7 import 'dart:collection' show Queue; |
| 8 | 8 |
| 9 import '../common.dart'; | 9 import '../common.dart'; |
| 10 | 10 |
| 11 import '../js/js.dart' as jsAst; | 11 import '../js/js.dart' as jsAst; |
| 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 | 17 |
| 18 import '../dart2jslib.dart' show | 18 import '../dart2jslib.dart' show |
| 19 CodeBuffer; | 19 CodeBuffer; |
| 20 | 20 |
| 21 import '../elements/elements.dart' show | 21 import '../elements/elements.dart' show |
| 22 TypeVariableElement; | 22 TypeVariableElement, |
| 23 ConstructorBodyElement; |
| 23 | 24 |
| 24 import '../js/js.dart' show | 25 import '../js/js.dart' show |
| 25 js; | 26 js; |
| 26 | 27 |
| 27 import '../js_backend/js_backend.dart' show | 28 import '../js_backend/js_backend.dart' show |
| 28 CheckedModeHelper, | 29 CheckedModeHelper, |
| 29 CheckedModeHelper, | 30 CheckedModeHelper, |
| 30 ConstantEmitter, | 31 ConstantEmitter, |
| 31 CustomElementsAnalysis, | 32 CustomElementsAnalysis, |
| 32 JavaScriptBackend, | 33 JavaScriptBackend, |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 part 'code_emitter_helper.dart'; | 66 part 'code_emitter_helper.dart'; |
| 66 part 'code_emitter_task.dart'; | 67 part 'code_emitter_task.dart'; |
| 67 part 'container_builder.dart'; | 68 part 'container_builder.dart'; |
| 68 part 'declarations.dart'; | 69 part 'declarations.dart'; |
| 69 part 'helpers.dart'; | 70 part 'helpers.dart'; |
| 70 part 'interceptor_emitter.dart'; | 71 part 'interceptor_emitter.dart'; |
| 71 part 'metadata_emitter.dart'; | 72 part 'metadata_emitter.dart'; |
| 72 part 'nsm_emitter.dart'; | 73 part 'nsm_emitter.dart'; |
| 73 part 'reflection_data_parser.dart'; | 74 part 'reflection_data_parser.dart'; |
| 74 part 'type_test_emitter.dart'; | 75 part 'type_test_emitter.dart'; |
| OLD | NEW |