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