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 import 'dart:collection' show LinkedHashMap; |
8 | 9 |
9 import '../common.dart'; | 10 import '../common.dart'; |
10 | 11 |
11 import '../constants/expressions.dart'; | 12 import '../constants/expressions.dart'; |
12 import '../constants/values.dart'; | 13 import '../constants/values.dart'; |
13 | 14 |
14 import '../closure.dart' show | 15 import '../closure.dart' show |
15 ClosureClassElement, | 16 ClosureClassElement, |
16 ClosureClassMap, | 17 ClosureClassMap, |
17 ClosureFieldElement, | 18 ClosureFieldElement, |
(...skipping 13 matching lines...) Expand all Loading... |
31 MethodElement; | 32 MethodElement; |
32 | 33 |
33 import '../hash/sha1.dart' show Hasher; | 34 import '../hash/sha1.dart' show Hasher; |
34 | 35 |
35 import '../helpers/helpers.dart'; // Included for debug helpers. | 36 import '../helpers/helpers.dart'; // Included for debug helpers. |
36 | 37 |
37 import '../js/js.dart' as jsAst; | 38 import '../js/js.dart' as jsAst; |
38 import '../js/js.dart' show | 39 import '../js/js.dart' show |
39 js; | 40 js; |
40 | 41 |
| 42 import 'package:js_ast/src/precedence.dart' as js_precedence; |
| 43 |
41 import '../js_backend/js_backend.dart' show | 44 import '../js_backend/js_backend.dart' show |
42 CheckedModeHelper, | 45 CheckedModeHelper, |
43 ConstantEmitter, | 46 ConstantEmitter, |
44 CustomElementsAnalysis, | 47 CustomElementsAnalysis, |
45 JavaScriptBackend, | 48 JavaScriptBackend, |
46 JavaScriptConstantCompiler, | 49 JavaScriptConstantCompiler, |
47 Namer, | 50 Namer, |
48 RuntimeTypes, | 51 RuntimeTypes, |
49 Substitution, | 52 Substitution, |
50 TypeCheck, | 53 TypeCheck, |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 | 108 |
106 part 'old_emitter/class_builder.dart'; | 109 part 'old_emitter/class_builder.dart'; |
107 part 'old_emitter/class_emitter.dart'; | 110 part 'old_emitter/class_emitter.dart'; |
108 part 'old_emitter/code_emitter_helper.dart'; | 111 part 'old_emitter/code_emitter_helper.dart'; |
109 part 'old_emitter/container_builder.dart'; | 112 part 'old_emitter/container_builder.dart'; |
110 part 'old_emitter/declarations.dart'; | 113 part 'old_emitter/declarations.dart'; |
111 part 'old_emitter/emitter.dart'; | 114 part 'old_emitter/emitter.dart'; |
112 part 'old_emitter/interceptor_emitter.dart'; | 115 part 'old_emitter/interceptor_emitter.dart'; |
113 part 'old_emitter/nsm_emitter.dart'; | 116 part 'old_emitter/nsm_emitter.dart'; |
114 part 'old_emitter/setup_program_builder.dart'; | 117 part 'old_emitter/setup_program_builder.dart'; |
OLD | NEW |