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

Unified Diff: compiler/javatests/com/google/dart/compiler/parser/DartParserRunner.java

Issue 9113017: Add unitAboutToCompile() into DartCompilerListener (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 12 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/javatests/com/google/dart/compiler/parser/DartParserRunner.java
diff --git a/compiler/javatests/com/google/dart/compiler/parser/DartParserRunner.java b/compiler/javatests/com/google/dart/compiler/parser/DartParserRunner.java
index 0af76946b29b42118d8942bd78a98c02362cdd24..fe28e7b38a49a8e8feb19f33c67aacf4e3024bbd 100644
--- a/compiler/javatests/com/google/dart/compiler/parser/DartParserRunner.java
+++ b/compiler/javatests/com/google/dart/compiler/parser/DartParserRunner.java
@@ -6,6 +6,7 @@ package com.google.dart.compiler.parser;
import com.google.dart.compiler.DartCompilationError;
import com.google.dart.compiler.DartCompilerListener;
+import com.google.dart.compiler.DartSource;
import com.google.dart.compiler.DartSourceTest;
import com.google.dart.compiler.ErrorSeverity;
import com.google.dart.compiler.ast.DartUnit;
@@ -19,7 +20,7 @@ import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.atomic.AtomicReference;
-public class DartParserRunner extends DartCompilerListener implements Runnable {
+public class DartParserRunner implements DartCompilerListener, Runnable {
public static final int DEFAULT_TIMEOUT_IN_MILISECONDS = 10 * 1000;
@@ -193,6 +194,10 @@ public class DartParserRunner extends DartCompilerListener implements Runnable {
}
@Override
+ public void unitAboutToCompile(DartSource source, boolean diet) {
+ }
+
+ @Override
public void unitCompiled(DartUnit unit) {
}
}

Powered by Google App Engine
This is Rietveld 408576698