| 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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 @override | 82 @override |
| 83 SourceSpan spanFromSpannable(Spannable node) { | 83 SourceSpan spanFromSpannable(Spannable node) { |
| 84 // TODO: implement spanFromSpannable | 84 // TODO: implement spanFromSpannable |
| 85 } | 85 } |
| 86 | 86 |
| 87 @override | 87 @override |
| 88 withCurrentElement(element, f()) { | 88 withCurrentElement(element, f()) { |
| 89 // TODO: implement withCurrentElement | 89 // TODO: implement withCurrentElement |
| 90 } | 90 } |
| 91 } | 91 } |
| OLD | NEW |