| 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.full_emitter.container_builder; | 5 library dart2js.js_emitter.full_emitter.container_builder; |
| 6 | 6 |
| 7 import '../../constants/values.dart'; | 7 import '../../constants/values.dart'; |
| 8 import '../../elements/elements.dart' | 8 import '../../elements/elements.dart' |
| 9 show | 9 show |
| 10 Element, | 10 Element, |
| 11 Elements, | 11 Elements, |
| 12 FunctionSignature, | 12 FunctionSignature, |
| 13 MetadataAnnotation, | 13 MetadataAnnotation, |
| 14 MethodElement; | 14 MethodElement; |
| 15 import '../../js/js.dart' as jsAst; | 15 import '../../js/js.dart' as jsAst; |
| 16 import '../../js/js.dart' show js; | 16 import '../../js/js.dart' show js; |
| 17 import '../js_emitter.dart' hide Emitter, EmitterFactory; | 17 import '../js_emitter.dart' hide Emitter, EmitterFactory; |
| 18 import '../model.dart'; | 18 import '../model.dart'; |
| 19 import 'emitter.dart'; | 19 import 'emitter.dart'; |
| 20 | 20 |
| 21 /// This class should morph into something that makes it easy to build | 21 /// This class should morph into something that makes it easy to build |
| 22 /// JavaScript representations of libraries, class-sides, and instance-sides. | 22 /// JavaScript representations of libraries, class-sides, and instance-sides. |
| 23 /// Initially, it is just a placeholder for code that is moved from | 23 /// Initially, it is just a placeholder for code that is moved from |
| 24 /// [CodeEmitterTask]. | 24 /// [CodeEmitterTask]. |
| (...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 184 jsAst.ArrayInitializer arrayInit = | 184 jsAst.ArrayInitializer arrayInit = |
| 185 new jsAst.ArrayInitializer(expressions.toList()); | 185 new jsAst.ArrayInitializer(expressions.toList()); |
| 186 compiler.dumpInfoTask | 186 compiler.dumpInfoTask |
| 187 .registerElementAst(member, builder.addProperty(name, arrayInit)); | 187 .registerElementAst(member, builder.addProperty(name, arrayInit)); |
| 188 } | 188 } |
| 189 | 189 |
| 190 void addMemberField(Field field, ClassBuilder builder) { | 190 void addMemberField(Field field, ClassBuilder builder) { |
| 191 // For now, do nothing. | 191 // For now, do nothing. |
| 192 } | 192 } |
| 193 } | 193 } |
| OLD | NEW |