OLD | NEW |
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2016, 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 library kernel.target.vm_fasta; | 4 library kernel.target.flutter_fasta; |
5 | 5 |
6 import '../ast.dart' show Program, Library; | 6 import '../ast.dart' show Program, Library; |
7 import '../core_types.dart' show CoreTypes; | 7 import '../core_types.dart' show CoreTypes; |
8 import '../class_hierarchy.dart' show ClassHierarchy; | 8 import '../class_hierarchy.dart' show ClassHierarchy; |
9 | 9 |
10 import '../transformations/mixin_full_resolution.dart' as transformMixins | 10 import '../transformations/mixin_full_resolution.dart' as transformMixins |
11 show transformLibraries; | 11 show transformLibraries; |
12 import '../transformations/continuation.dart' as transformAsync | 12 import '../transformations/continuation.dart' as transformAsync |
13 show transformLibraries; | 13 show transformLibraries; |
14 import '../transformations/erasure.dart' as tranformErasure | 14 import '../transformations/erasure.dart' as tranformErasure |
(...skipping 20 matching lines...) Expand all Loading... |
35 } | 35 } |
36 | 36 |
37 // TODO(kmillikin): Make this run on a per-method basis. | 37 // TODO(kmillikin): Make this run on a per-method basis. |
38 transformAsync.transformLibraries(coreTypes, libraries); | 38 transformAsync.transformLibraries(coreTypes, libraries); |
39 logger?.call("Transformed async methods"); | 39 logger?.call("Transformed async methods"); |
40 } | 40 } |
41 | 41 |
42 void performGlobalTransformations(CoreTypes coreTypes, Program program, | 42 void performGlobalTransformations(CoreTypes coreTypes, Program program, |
43 {void logger(String msg)}) {} | 43 {void logger(String msg)}) {} |
44 } | 44 } |
OLD | NEW |