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 // TODO(johnniwinther): Make this a separate library. | 5 // TODO(johnniwinther): Make this a separate library. |
6 part of dart2js.kernel.element_map; | 6 part of dart2js.kernel.element_map; |
7 | 7 |
8 class KernelAnnotationProcessor implements AnnotationProcessor { | 8 class KernelAnnotationProcessor implements AnnotationProcessor { |
9 final KernelToElementMapImpl elementMap; | 9 final KernelToElementMapImpl elementMap; |
10 | 10 |
(...skipping 19 matching lines...) Expand all Loading... |
30 } | 30 } |
31 } | 31 } |
32 if (annotationName != null) { | 32 if (annotationName != null) { |
33 nativeBasicDataBuilder.setNativeClassTagInfo(cls, annotationName); | 33 nativeBasicDataBuilder.setNativeClassTagInfo(cls, annotationName); |
34 } | 34 } |
35 }); | 35 }); |
36 } | 36 } |
37 | 37 |
38 void extractJsInteropAnnotations( | 38 void extractJsInteropAnnotations( |
39 LibraryEntity library, NativeBasicDataBuilder nativeBasicDataBuilder) { | 39 LibraryEntity library, NativeBasicDataBuilder nativeBasicDataBuilder) { |
40 // TODO(johnniwinther): Implement this. | 40 // TODO(redemption): Implement this. |
41 } | 41 } |
42 | 42 |
43 @override | 43 @override |
44 void processJsInteropAnnotations( | 44 void processJsInteropAnnotations( |
45 NativeBasicData nativeData, NativeDataBuilder nativeDataBuilder) { | 45 NativeBasicData nativeData, NativeDataBuilder nativeDataBuilder) { |
46 // TODO(johnniwinther): Implement this. | 46 // TODO(redemption): Implement this. |
47 } | 47 } |
48 } | 48 } |
OLD | NEW |