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:convert'; | 7 import 'dart:convert'; |
8 | 8 |
9 import '../common.dart'; | 9 import '../common.dart'; |
10 | 10 |
11 import '../constants/expressions.dart'; | 11 import '../constants/expressions.dart'; |
12 import '../constants/values.dart'; | 12 import '../constants/values.dart'; |
13 | 13 |
14 import '../closure.dart' show | 14 import '../closure.dart' show |
15 ClosureClassElement, | 15 ClosureClassElement, |
16 ClosureClassMap, | 16 ClosureClassMap, |
17 ClosureFieldElement, | 17 ClosureFieldElement, |
18 CapturedVariable; | 18 CapturedVariable; |
19 | 19 |
20 import '../dart_types.dart' show | 20 import '../dart_types.dart' show |
21 TypedefType; | 21 TypedefType; |
22 | 22 |
23 import '../io/code_output.dart'; | 23 import '../io/code_output.dart'; |
24 | 24 |
25 import '../elements/elements.dart' show | 25 import '../elements/elements.dart' show |
26 ConstructorBodyElement, | 26 ConstructorBodyElement, |
27 ElementKind, | 27 ElementKind, |
28 FieldElement, | 28 FieldElement, |
29 ParameterElement, | 29 ParameterElement, |
30 TypeVariableElement; | 30 TypeVariableElement, |
| 31 MethodElement; |
31 | 32 |
32 import '../hash/sha1.dart' show Hasher; | 33 import '../hash/sha1.dart' show Hasher; |
33 | 34 |
34 import '../helpers/helpers.dart'; // Included for debug helpers. | 35 import '../helpers/helpers.dart'; // Included for debug helpers. |
35 | 36 |
36 import '../js/js.dart' as jsAst; | 37 import '../js/js.dart' as jsAst; |
37 import '../js/js.dart' show | 38 import '../js/js.dart' show |
38 js; | 39 js; |
39 | 40 |
40 import '../js_backend/js_backend.dart' show | 41 import '../js_backend/js_backend.dart' show |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
102 | 103 |
103 part 'old_emitter/class_builder.dart'; | 104 part 'old_emitter/class_builder.dart'; |
104 part 'old_emitter/class_emitter.dart'; | 105 part 'old_emitter/class_emitter.dart'; |
105 part 'old_emitter/code_emitter_helper.dart'; | 106 part 'old_emitter/code_emitter_helper.dart'; |
106 part 'old_emitter/container_builder.dart'; | 107 part 'old_emitter/container_builder.dart'; |
107 part 'old_emitter/declarations.dart'; | 108 part 'old_emitter/declarations.dart'; |
108 part 'old_emitter/emitter.dart'; | 109 part 'old_emitter/emitter.dart'; |
109 part 'old_emitter/interceptor_emitter.dart'; | 110 part 'old_emitter/interceptor_emitter.dart'; |
110 part 'old_emitter/nsm_emitter.dart'; | 111 part 'old_emitter/nsm_emitter.dart'; |
111 part 'old_emitter/setup_program_builder.dart'; | 112 part 'old_emitter/setup_program_builder.dart'; |
OLD | NEW |