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

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

Issue 8285004: Ground work for addition to new listener api (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Added some comments Created 9 years, 2 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/DefaultDartCompilerListener.java
diff --git a/compiler/java/com/google/dart/compiler/DefaultDartCompilerListener.java b/compiler/java/com/google/dart/compiler/DefaultDartCompilerListener.java
index ceffa199d9fd2a7aa4bf68f8fc24435e04cd6299..3b8abd594054665bcfc27dccdb5b6ca9b9a86c71 100644
--- a/compiler/java/com/google/dart/compiler/DefaultDartCompilerListener.java
+++ b/compiler/java/com/google/dart/compiler/DefaultDartCompilerListener.java
@@ -4,6 +4,8 @@
package com.google.dart.compiler;
+import com.google.dart.compiler.ast.DartUnit;
+
/**
* A default implementation of {@link DartCompilerListener} which counts
* compilation errors.
@@ -100,4 +102,8 @@ public class DefaultDartCompilerListener extends DartCompilerListener {
protected void incrementTypeErrorCount() {
typeErrorCount++;
}
+
+ @Override
+ public void unitCompiled(DartUnit unit) {
+ }
}

Powered by Google App Engine
This is Rietveld 408576698