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

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

Issue 2964683003: Split implementation of KernelToElementMapImpl (Closed)
Patch Set: Updated cf. comments Created 3 years, 5 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 KernelToElementMapImpl elementMap; 9 final KernelToElementMapForImpactImpl2 elementMap;
10 10
11 KernelAnnotationProcessor(this.elementMap); 11 KernelAnnotationProcessor(this.elementMap);
12 12
13 void extractNativeAnnotations( 13 void extractNativeAnnotations(
14 LibraryEntity library, NativeBasicDataBuilder nativeBasicDataBuilder) { 14 LibraryEntity library, NativeBasicDataBuilder nativeBasicDataBuilder) {
15 ElementEnvironment elementEnvironment = elementMap.elementEnvironment; 15 ElementEnvironment elementEnvironment = elementMap.elementEnvironment;
16 CommonElements commonElements = elementMap.commonElements; 16 CommonElements commonElements = elementMap.commonElements;
17 17
18 elementEnvironment.forEachClass(library, (ClassEntity cls) { 18 elementEnvironment.forEachClass(library, (ClassEntity cls) {
19 String annotationName; 19 String annotationName;
(...skipping 19 matching lines...) Expand all
39 LibraryEntity library, NativeBasicDataBuilder nativeBasicDataBuilder) { 39 LibraryEntity library, NativeBasicDataBuilder nativeBasicDataBuilder) {
40 // TODO(redemption): 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(redemption): Implement this. 46 // TODO(redemption): Implement this.
47 } 47 }
48 } 48 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/kernel/kernel_strategy.dart ('k') | pkg/compiler/lib/src/kernel/no_such_method_resolver.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698