| 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 analyzer2dart.dart_backend; | 5 library analyzer2dart.dart_backend; |
| 6 | 6 |
| 7 import 'package:compiler/implementation/elements/elements.dart'; | 7 import 'package:compiler/src/elements/elements.dart'; |
| 8 import 'package:compiler/implementation/dart_backend/dart_backend.dart'; | 8 import 'package:compiler/src/dart_backend/dart_backend.dart'; |
| 9 import 'package:compiler/implementation/dart2jslib.dart'; | 9 import 'package:compiler/src/dart2jslib.dart'; |
| 10 | 10 |
| 11 import 'driver.dart'; | 11 import 'driver.dart'; |
| 12 import 'converted_world.dart'; | 12 import 'converted_world.dart'; |
| 13 | 13 |
| 14 void compileToDart(Driver driver, ConvertedWorld convertedWorld) { | 14 void compileToDart(Driver driver, ConvertedWorld convertedWorld) { |
| 15 DartOutputter outputter = | 15 DartOutputter outputter = |
| 16 new DartOutputter(new Listener(), driver.outputProvider); | 16 new DartOutputter(new Listener(), driver.outputProvider); |
| 17 outputter.assembleProgram( | 17 outputter.assembleProgram( |
| 18 libraries: convertedWorld.libraries, | 18 libraries: convertedWorld.libraries, |
| 19 instantiatedClasses: convertedWorld.instantiatedClasses, | 19 instantiatedClasses: convertedWorld.instantiatedClasses, |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 @override | 78 @override |
| 79 SourceSpan spanFromSpannable(Spannable node) { | 79 SourceSpan spanFromSpannable(Spannable node) { |
| 80 // TODO: implement spanFromSpannable | 80 // TODO: implement spanFromSpannable |
| 81 } | 81 } |
| 82 | 82 |
| 83 @override | 83 @override |
| 84 withCurrentElement(element, f()) { | 84 withCurrentElement(element, f()) { |
| 85 // TODO: implement withCurrentElement | 85 // TODO: implement withCurrentElement |
| 86 } | 86 } |
| 87 } | 87 } |
| OLD | NEW |