OLD | NEW |
1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2017, 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 kernel.transformations.empty; | 5 library kernel.transformations.empty; |
6 | 6 |
7 import '../ast.dart'; | 7 import '../ast.dart'; |
8 import '../kernel.dart'; | 8 import '../kernel.dart'; |
9 import '../visitor.dart'; | 9 import '../visitor.dart'; |
10 | 10 |
11 Program transformProgram(Program program) { | 11 Program transformProgram(Program program) { |
12 new EmptyTransformer().visitProgram(program); | 12 new EmptyTransformer().visitProgram(program); |
13 return program; | 13 return program; |
14 } | 14 } |
15 | 15 |
16 class EmptyTransformer extends Transformer {} | 16 class EmptyTransformer extends Transformer {} |
OLD | NEW |