Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(322)

Side by Side Diff: pkg/compiler/lib/src/kernel/native_basic_data.dart

Issue 2852603003: Move JsInteropAnalysis.onQueueClosed to AnnotationProcessor.processJsInteropAnnotation (Closed)
Patch Set: Register anonymous classes correctly + add test Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 KernelToElementMap elementMap; 9 final KernelToElementMap elementMap;
10 10
(...skipping 23 matching lines...) Expand all
34 if (annotationName != null) { 34 if (annotationName != null) {
35 nativeBasicDataBuilder.setNativeClassTagInfo(cls, annotationName); 35 nativeBasicDataBuilder.setNativeClassTagInfo(cls, annotationName);
36 } 36 }
37 }); 37 });
38 } 38 }
39 39
40 void extractJsInteropAnnotations( 40 void extractJsInteropAnnotations(
41 LibraryEntity library, NativeBasicDataBuilder nativeBasicDataBuilder) { 41 LibraryEntity library, NativeBasicDataBuilder nativeBasicDataBuilder) {
42 // TODO(johnniwinther): Implement this. 42 // TODO(johnniwinther): Implement this.
43 } 43 }
44
45 @override
46 void processJsInteropAnnotations(
47 NativeBasicData nativeData, NativeDataBuilder nativeDataBuilder) {
48 // TODO(johnniwinther): Implement this.
49 }
44 } 50 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698