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

Unified Diff: compiler/java/com/google/dart/compiler/Backend.java

Issue 9479013: Remove backends. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: More clean up Created 8 years, 10 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: compiler/java/com/google/dart/compiler/Backend.java
diff --git a/compiler/java/com/google/dart/compiler/Backend.java b/compiler/java/com/google/dart/compiler/Backend.java
deleted file mode 100644
index 8e7cfe99a62fbcc4ea7cf899ced2987a130a8e66..0000000000000000000000000000000000000000
--- a/compiler/java/com/google/dart/compiler/Backend.java
+++ /dev/null
@@ -1,54 +0,0 @@
-// Copyright (c) 2011, 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.
-
-package com.google.dart.compiler;
-
-import com.google.dart.compiler.ast.DartUnit;
-import com.google.dart.compiler.ast.LibraryUnit;
-import com.google.dart.compiler.resolver.CoreTypeProvider;
-
-import java.io.IOException;
-import java.util.Collection;
-
-/**
- * Interface for compiler backends.
- */
-public interface Backend {
-
- /**
- * Determines whether compilation artifacts are out of date with respect to
- * this source.
- */
- boolean isOutOfDate(DartSource src, DartCompilerContext context);
-
- /**
- * Compile the given compilation unit.
- * @param context The listener through which compilation errors are reported
- * (not <code>null</code>)
- */
- void compileUnit(DartUnit unit, DartSource src,
- DartCompilerContext context,
- CoreTypeProvider typeProvider)
- throws IOException;
-
- /**
- * Package the given application.
- *
- * @param app The application library whose entry-point should be called
- * @param libraries The transitive set of libraries contained in this
- * application
- * @param context The listener through which compilation errors are reported
- * (not <code>null</code>)
- */
- void packageApp(LibrarySource app,
- Collection<LibraryUnit> libraries,
- DartCompilerContext context,
- CoreTypeProvider typeProvider)
- throws IOException;
-
- /**
- * The application extension for the backend.
- */
- String getAppExtension();
-}

Powered by Google App Engine
This is Rietveld 408576698