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

Unified Diff: pkg/compiler/lib/src/common/resolution.dart

Issue 2843453002: Remove Frontend interface (Closed)
Patch Set: Created 3 years, 8 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
« no previous file with comments | « no previous file | pkg/compiler/lib/src/js_backend/backend.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/common/resolution.dart
diff --git a/pkg/compiler/lib/src/common/resolution.dart b/pkg/compiler/lib/src/common/resolution.dart
index 3ad10fa94d1fee51de700e0548421b187ebc8f3d..936b7df28a347cc0248209030e794ff874cdd746 100644
--- a/pkg/compiler/lib/src/common/resolution.dart
+++ b/pkg/compiler/lib/src/common/resolution.dart
@@ -76,13 +76,6 @@ class ResolutionImpact extends WorldImpact {
Iterable<dynamic> get nativeData => const <dynamic>[];
}
-/// Interface for the accessing the front-end analysis.
-// TODO(johnniwinther): Find a better name for this.
-abstract class Frontend {
- /// Returns the [ResolutionImpact] for [element].
- ResolutionImpact getResolutionImpact(Element element);
-}
-
/// Interface defining target-specific behavior for resolution.
abstract class Target {
/// Returns `true` if [library] is a target specific library whose members
@@ -126,7 +119,7 @@ abstract class Target {
}
// TODO(johnniwinther): Rename to `Resolver` or `ResolverContext`.
-abstract class Resolution implements Frontend {
+abstract class Resolution {
ParsingContext get parsingContext;
DiagnosticReporter get reporter;
CommonElements get commonElements;
« no previous file with comments | « no previous file | pkg/compiler/lib/src/js_backend/backend.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698