| 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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 /// Creates the [NoSuchMethodResolver] corresponding the resolved model of | 59 /// Creates the [NoSuchMethodResolver] corresponding the resolved model of |
| 60 /// this strategy. | 60 /// this strategy. |
| 61 NoSuchMethodResolver createNoSuchMethodResolver(); | 61 NoSuchMethodResolver createNoSuchMethodResolver(); |
| 62 | 62 |
| 63 /// Creates the [ResolutionWorldBuilder] corresponding to the element model | 63 /// Creates the [ResolutionWorldBuilder] corresponding to the element model |
| 64 /// used in this strategy. | 64 /// used in this strategy. |
| 65 ResolutionWorldBuilder createResolutionWorldBuilder( | 65 ResolutionWorldBuilder createResolutionWorldBuilder( |
| 66 NativeBasicData nativeBasicData, | 66 NativeBasicData nativeBasicData, |
| 67 NativeDataBuilder nativeDataBuilder, | 67 NativeDataBuilder nativeDataBuilder, |
| 68 InterceptorDataBuilder interceptorDataBuilder, | 68 InterceptorDataBuilder interceptorDataBuilder, |
| 69 BackendUsageBuilder backendUsageBuilder, |
| 69 SelectorConstraintsStrategy selectorConstraintsStrategy); | 70 SelectorConstraintsStrategy selectorConstraintsStrategy); |
| 70 | 71 |
| 71 /// Creates the [WorkItemBuilder] corresponding to how a resolved model for | 72 /// Creates the [WorkItemBuilder] corresponding to how a resolved model for |
| 72 /// a single member is obtained in this strategy. | 73 /// a single member is obtained in this strategy. |
| 73 WorkItemBuilder createResolutionWorkItemBuilder( | 74 WorkItemBuilder createResolutionWorkItemBuilder( |
| 74 NativeBasicData nativeBasicData, | 75 NativeBasicData nativeBasicData, |
| 75 NativeDataBuilder nativeDataBuilder, | 76 NativeDataBuilder nativeDataBuilder, |
| 76 ImpactTransformer impactTransformer); | 77 ImpactTransformer impactTransformer); |
| 77 | 78 |
| 78 /// Computes the main function from [mainLibrary] adding additional world | 79 /// Computes the main function from [mainLibrary] adding additional world |
| (...skipping 23 matching lines...) Expand all Loading... |
| 102 abstract class AnnotationProcessor { | 103 abstract class AnnotationProcessor { |
| 103 void extractNativeAnnotations( | 104 void extractNativeAnnotations( |
| 104 LibraryEntity library, NativeBasicDataBuilder nativeBasicDataBuilder); | 105 LibraryEntity library, NativeBasicDataBuilder nativeBasicDataBuilder); |
| 105 | 106 |
| 106 void extractJsInteropAnnotations( | 107 void extractJsInteropAnnotations( |
| 107 LibraryEntity library, NativeBasicDataBuilder nativeBasicDataBuilder); | 108 LibraryEntity library, NativeBasicDataBuilder nativeBasicDataBuilder); |
| 108 | 109 |
| 109 void processJsInteropAnnotations( | 110 void processJsInteropAnnotations( |
| 110 NativeBasicData nativeBasicData, NativeDataBuilder nativeDataBuilder); | 111 NativeBasicData nativeBasicData, NativeDataBuilder nativeDataBuilder); |
| 111 } | 112 } |
| OLD | NEW |