| 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 '../closure.dart' show | 11 import '../closure.dart' show |
| 12 ClosureClassElement, | 12 ClosureClassElement, |
| 13 ClosureClassMap, | 13 ClosureClassMap, |
| 14 ClosureFieldElement; | 14 ClosureFieldElement; |
| 15 | 15 |
| 16 import '../dart2jslib.dart' show | 16 import '../dart2jslib.dart' show |
| 17 CodeBuffer; | 17 CodeBuffer; |
| 18 | 18 |
| 19 import '../elements/elements.dart' show | 19 import '../elements/elements.dart' show |
| 20 TypeVariableElement, | 20 TypeVariableElement, |
| 21 ConstructorBodyElement; | 21 ConstructorBodyElement; |
| 22 | 22 |
| 23 import '../js/js.dart' show | 23 import '../js/js.dart' show |
| 24 js; | 24 js; |
| 25 | 25 |
| 26 import '../js_backend/js_backend.dart' show | 26 import '../js_backend/js_backend.dart' show |
| 27 CheckedModeHelper, | 27 CheckedModeHelper, |
| 28 CheckedModeHelper, | |
| 29 ConstantEmitter, | 28 ConstantEmitter, |
| 30 CustomElementsAnalysis, | 29 CustomElementsAnalysis, |
| 31 JavaScriptBackend, | 30 JavaScriptBackend, |
| 32 JavaScriptBackend, | 31 JavaScriptConstantCompiler, |
| 33 Namer, | 32 Namer, |
| 34 NativeEmitter, | 33 NativeEmitter, |
| 35 RuntimeTypes, | 34 RuntimeTypes, |
| 36 Substitution, | 35 Substitution, |
| 37 TypeCheck, | 36 TypeCheck, |
| 38 TypeChecks, | 37 TypeChecks, |
| 39 TypeVariableHandler; | 38 TypeVariableHandler; |
| 40 | 39 |
| 41 import '../source_file.dart' show | 40 import '../source_file.dart' show |
| 42 SourceFile, | 41 SourceFile, |
| (...skipping 22 matching lines...) Expand all Loading... |
| 65 part 'code_emitter_helper.dart'; | 64 part 'code_emitter_helper.dart'; |
| 66 part 'code_emitter_task.dart'; | 65 part 'code_emitter_task.dart'; |
| 67 part 'container_builder.dart'; | 66 part 'container_builder.dart'; |
| 68 part 'declarations.dart'; | 67 part 'declarations.dart'; |
| 69 part 'helpers.dart'; | 68 part 'helpers.dart'; |
| 70 part 'interceptor_emitter.dart'; | 69 part 'interceptor_emitter.dart'; |
| 71 part 'metadata_emitter.dart'; | 70 part 'metadata_emitter.dart'; |
| 72 part 'nsm_emitter.dart'; | 71 part 'nsm_emitter.dart'; |
| 73 part 'reflection_data_parser.dart'; | 72 part 'reflection_data_parser.dart'; |
| 74 part 'type_test_emitter.dart'; | 73 part 'type_test_emitter.dart'; |
| OLD | NEW |