| 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 dart2js.frontend_strategy; | 5 library dart2js.frontend_strategy; |
| 6 | 6 |
| 7 import 'common.dart'; | 7 import 'common.dart'; |
| 8 import 'common_elements.dart'; | 8 import 'common_elements.dart'; |
| 9 import 'common/backend_api.dart'; | 9 import 'common/backend_api.dart'; |
| 10 import 'common/tasks.dart'; | 10 import 'common/tasks.dart'; |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 NativeClassFinder createNativeClassFinder(NativeBasicData nativeBasicData); | 52 NativeClassFinder createNativeClassFinder(NativeBasicData nativeBasicData); |
| 53 | 53 |
| 54 /// Creates the [NoSuchMethodResolver] corresponding the resolved model of | 54 /// Creates the [NoSuchMethodResolver] corresponding the resolved model of |
| 55 /// this strategy. | 55 /// this strategy. |
| 56 NoSuchMethodResolver createNoSuchMethodResolver(); | 56 NoSuchMethodResolver createNoSuchMethodResolver(); |
| 57 | 57 |
| 58 /// Creates the [ResolutionWorldBuilder] corresponding to the element model | 58 /// Creates the [ResolutionWorldBuilder] corresponding to the element model |
| 59 /// used in this strategy. | 59 /// used in this strategy. |
| 60 ResolutionWorldBuilder createResolutionWorldBuilder( | 60 ResolutionWorldBuilder createResolutionWorldBuilder( |
| 61 NativeBasicData nativeBasicData, | 61 NativeBasicData nativeBasicData, |
| 62 NativeDataBuilder nativeDataBuilder, |
| 62 SelectorConstraintsStrategy selectorConstraintsStrategy); | 63 SelectorConstraintsStrategy selectorConstraintsStrategy); |
| 63 | 64 |
| 64 /// Creates the [WorkItemBuilder] corresponding to how a resolved model for | 65 /// Creates the [WorkItemBuilder] corresponding to how a resolved model for |
| 65 /// a single member is obtained in this strategy. | 66 /// a single member is obtained in this strategy. |
| 66 WorkItemBuilder createResolutionWorkItemBuilder( | 67 WorkItemBuilder createResolutionWorkItemBuilder( |
| 67 ImpactTransformer impactTransformer); | 68 ImpactTransformer impactTransformer); |
| 68 | 69 |
| 69 /// Computes the main function from [mainLibrary] adding additional world | 70 /// Computes the main function from [mainLibrary] adding additional world |
| 70 /// impact to [impactBuilder]. | 71 /// impact to [impactBuilder]. |
| 71 FunctionEntity computeMain( | 72 FunctionEntity computeMain( |
| (...skipping 21 matching lines...) Expand all Loading... |
| 93 abstract class AnnotationProcessor { | 94 abstract class AnnotationProcessor { |
| 94 void extractNativeAnnotations( | 95 void extractNativeAnnotations( |
| 95 LibraryEntity library, NativeBasicDataBuilder nativeBasicDataBuilder); | 96 LibraryEntity library, NativeBasicDataBuilder nativeBasicDataBuilder); |
| 96 | 97 |
| 97 void extractJsInteropAnnotations( | 98 void extractJsInteropAnnotations( |
| 98 LibraryEntity library, NativeBasicDataBuilder nativeBasicDataBuilder); | 99 LibraryEntity library, NativeBasicDataBuilder nativeBasicDataBuilder); |
| 99 | 100 |
| 100 void processJsInteropAnnotations( | 101 void processJsInteropAnnotations( |
| 101 NativeBasicData nativeBasicData, NativeDataBuilder nativeDataBuilder); | 102 NativeBasicData nativeBasicData, NativeDataBuilder nativeDataBuilder); |
| 102 } | 103 } |
| OLD | NEW |