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

Unified Diff: compiler/java/com/google/dart/compiler/DeltaAnalyzer.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/java/com/google/dart/compiler/DeltaAnalyzer.java
diff --git a/compiler/java/com/google/dart/compiler/DeltaAnalyzer.java b/compiler/java/com/google/dart/compiler/DeltaAnalyzer.java
index 8625698bb3a6cb7a692e6635b070afbfa5313a2a..7e827c5cf92cd5afa97300bfeff3569897bc91a9 100644
--- a/compiler/java/com/google/dart/compiler/DeltaAnalyzer.java
+++ b/compiler/java/com/google/dart/compiler/DeltaAnalyzer.java
@@ -141,7 +141,7 @@ class DeltaAnalyzer {
return new DartParser(new DartScannerParserContext(source, sourceString, listener), false);
}
- private class Context extends DartCompilerListener implements DartCompilerContext {
+ private class Context implements DartCompilerListener, DartCompilerContext {
@Override
public LibraryUnit getApplicationUnit() {
throw new AssertionError();
@@ -203,6 +203,10 @@ class DeltaAnalyzer {
}
@Override
+ public void unitAboutToCompile(DartSource source, boolean diet) {
+ }
+
+ @Override
public void unitCompiled(DartUnit unit) {
}
}

Powered by Google App Engine
This is Rietveld 408576698