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

Unified Diff: pkg/compiler/lib/src/kernel/native_class_resolver.dart

Issue 2786593004: Use entities in NativeResolutionEnqueuer and make it reusable for kernel (Closed)
Patch Set: Created 3 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: pkg/compiler/lib/src/kernel/native_class_resolver.dart
diff --git a/pkg/compiler/lib/src/kernel/native_class_resolver.dart b/pkg/compiler/lib/src/kernel/native_class_resolver.dart
new file mode 100644
index 0000000000000000000000000000000000000000..b86ae5be10e8b9d73cfeda0b3c1aaafca53b8b58
--- /dev/null
+++ b/pkg/compiler/lib/src/kernel/native_class_resolver.dart
@@ -0,0 +1,18 @@
+// Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
+
+part of dart2js.kernel.world_builder;
+
+/// Interface for computing all native classes in a set of libraries.
+class KernelNativeClassResolver implements NativeClassResolver {
+ final KernelWorldBuilder _worldBuilder;
+
+ KernelNativeClassResolver(this._worldBuilder);
+
+ Iterable<ClassEntity> computeNativeClasses(
+ Iterable<LibraryEntity> libraries) {
+ throw new UnimplementedError(
+ "KernelNativeClassResolver.computeNativeClasses");
+ }
+}
« no previous file with comments | « pkg/compiler/lib/src/js_backend/backend.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