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 HashMap; |
8 | 9 |
9 import '../common.dart'; | 10 import '../common.dart'; |
10 | 11 |
11 import '../constants/values.dart'; | 12 import '../constants/values.dart'; |
12 | 13 |
13 import '../closure.dart' show | 14 import '../closure.dart' show |
14 ClosureClassElement, | 15 ClosureClassElement, |
15 ClosureClassMap, | 16 ClosureClassMap, |
16 ClosureFieldElement, | 17 ClosureFieldElement, |
17 CapturedVariable; | 18 CapturedVariable; |
(...skipping 15 matching lines...) Expand all Loading... |
33 import '../hash/sha1.dart' show Hasher; | 34 import '../hash/sha1.dart' show Hasher; |
34 | 35 |
35 import '../js/js.dart' as jsAst; | 36 import '../js/js.dart' as jsAst; |
36 import '../js/js.dart' show | 37 import '../js/js.dart' show |
37 js; | 38 js; |
38 | 39 |
39 import 'package:js_ast/src/precedence.dart' as js_precedence; | 40 import 'package:js_ast/src/precedence.dart' as js_precedence; |
40 | 41 |
41 import '../js_backend/js_backend.dart' show | 42 import '../js_backend/js_backend.dart' show |
42 CheckedModeHelper, | 43 CheckedModeHelper, |
| 44 CompoundName, |
43 ConstantEmitter, | 45 ConstantEmitter, |
44 CustomElementsAnalysis, | 46 CustomElementsAnalysis, |
| 47 GetterName, |
45 JavaScriptBackend, | 48 JavaScriptBackend, |
46 JavaScriptConstantCompiler, | 49 JavaScriptConstantCompiler, |
47 Namer, | 50 Namer, |
48 RuntimeTypes, | 51 RuntimeTypes, |
| 52 SetterName, |
49 Substitution, | 53 Substitution, |
50 TypeCheck, | 54 TypeCheck, |
51 TypeChecks, | 55 TypeChecks, |
52 TypeVariableHandler; | 56 TypeVariableHandler; |
53 | 57 |
54 import 'model.dart'; | 58 import 'model.dart'; |
55 import 'program_builder.dart'; | 59 import 'program_builder.dart'; |
56 | 60 |
57 import 'new_emitter/emitter.dart' as new_js_emitter; | 61 import 'new_emitter/emitter.dart' as new_js_emitter; |
58 | 62 |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 | 113 |
110 part 'old_emitter/class_builder.dart'; | 114 part 'old_emitter/class_builder.dart'; |
111 part 'old_emitter/class_emitter.dart'; | 115 part 'old_emitter/class_emitter.dart'; |
112 part 'old_emitter/code_emitter_helper.dart'; | 116 part 'old_emitter/code_emitter_helper.dart'; |
113 part 'old_emitter/container_builder.dart'; | 117 part 'old_emitter/container_builder.dart'; |
114 part 'old_emitter/declarations.dart'; | 118 part 'old_emitter/declarations.dart'; |
115 part 'old_emitter/emitter.dart'; | 119 part 'old_emitter/emitter.dart'; |
116 part 'old_emitter/interceptor_emitter.dart'; | 120 part 'old_emitter/interceptor_emitter.dart'; |
117 part 'old_emitter/nsm_emitter.dart'; | 121 part 'old_emitter/nsm_emitter.dart'; |
118 part 'old_emitter/setup_program_builder.dart'; | 122 part 'old_emitter/setup_program_builder.dart'; |
OLD | NEW |