| OLD | NEW |
| 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, 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_incremental.library_updater; | 5 library dart2js_incremental.library_updater; |
| 6 | 6 |
| 7 import 'dart:async' show | 7 import 'dart:async' show |
| 8 Future; | 8 Future; |
| 9 | 9 |
| 10 import 'package:compiler/compiler.dart' as api; | 10 import 'package:compiler/compiler.dart' as api; |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 Part, | 67 Part, |
| 68 StringNode, | 68 StringNode, |
| 69 unparse; | 69 unparse; |
| 70 | 70 |
| 71 import 'package:compiler/src/js/js.dart' show | 71 import 'package:compiler/src/js/js.dart' show |
| 72 js; | 72 js; |
| 73 | 73 |
| 74 import 'package:compiler/src/js/js.dart' as jsAst; | 74 import 'package:compiler/src/js/js.dart' as jsAst; |
| 75 | 75 |
| 76 import 'package:compiler/src/js_emitter/js_emitter.dart' show | 76 import 'package:compiler/src/js_emitter/js_emitter.dart' show |
| 77 ClassBuilder, | |
| 78 ClassEmitter, | |
| 79 CodeEmitterTask, | 77 CodeEmitterTask, |
| 80 ContainerBuilder, | |
| 81 MemberInfo, | |
| 82 computeMixinClass; | 78 computeMixinClass; |
| 83 | 79 |
| 84 import 'package:compiler/src/js_emitter/full_emitter/emitter.dart' | 80 import 'package:compiler/src/js_emitter/full_emitter/emitter.dart' |
| 85 as full show Emitter; | 81 as full show Emitter; |
| 86 | 82 |
| 87 import 'package:compiler/src/js_emitter/model.dart' show | 83 import 'package:compiler/src/js_emitter/model.dart' show |
| 88 Class, | 84 Class, |
| 89 Method; | 85 Method; |
| 90 | 86 |
| 91 import 'package:compiler/src/js_emitter/program_builder/program_builder.dart' | 87 import 'package:compiler/src/js_emitter/program_builder/program_builder.dart' |
| (...skipping 1424 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1516 .buildFieldsHackForIncrementalCompilation(classElement); | 1512 .buildFieldsHackForIncrementalCompilation(classElement); |
| 1517 // TODO(ahe): Rewrite for new emitter. | 1513 // TODO(ahe): Rewrite for new emitter. |
| 1518 ClassBuilder builder = new ClassBuilder(classElement, namer); | 1514 ClassBuilder builder = new ClassBuilder(classElement, namer); |
| 1519 classEmitter.emitFields(cls, builder); | 1515 classEmitter.emitFields(cls, builder); |
| 1520 return builder.fields; | 1516 return builder.fields; |
| 1521 } | 1517 } |
| 1522 } | 1518 } |
| 1523 | 1519 |
| 1524 // TODO(ahe): Remove this method. | 1520 // TODO(ahe): Remove this method. |
| 1525 NO_WARN(x) => x; | 1521 NO_WARN(x) => x; |
| OLD | NEW |