Index: compiler/java/com/google/dart/compiler/DartCompilerListener.java |
diff --git a/compiler/java/com/google/dart/compiler/DartCompilerListener.java b/compiler/java/com/google/dart/compiler/DartCompilerListener.java |
index c34dffd11d64b8ead56ca1d594bf3c15bc4f77d3..a182a35112998385124ec1a423571c7c2f66e19f 100644 |
--- a/compiler/java/com/google/dart/compiler/DartCompilerListener.java |
+++ b/compiler/java/com/google/dart/compiler/DartCompilerListener.java |
@@ -14,16 +14,11 @@ import com.google.dart.compiler.ast.DartUnit; |
public abstract class DartCompilerListener { |
/** |
- * Called by the compiler when a compilation error has occurred in a Dart |
- * file. |
+ * Called by the compiler when a compilation error has occurred in a Dart file. |
* |
* @param event the event information (not <code>null</code>) |
*/ |
- public abstract void compilationError(DartCompilationError event); |
- |
- public abstract void compilationWarning(DartCompilationError event); |
- |
- public abstract void typeError(DartCompilationError event); |
+ public abstract void onError(DartCompilationError event); |
/** |
* Called by the compiler after the resolution and type analyzer phase for each unit. |