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

Unified Diff: compiler/java/com/google/dart/compiler/DartCompilerMainContext.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/DartCompilerMainContext.java
diff --git a/compiler/java/com/google/dart/compiler/DartCompilerMainContext.java b/compiler/java/com/google/dart/compiler/DartCompilerMainContext.java
index eae9614c58e67e4652ed48b674e36bf0bf8cd39b..32d8c6e667b157f1050b0de5e2ab4d5857c8db2e 100644
--- a/compiler/java/com/google/dart/compiler/DartCompilerMainContext.java
+++ b/compiler/java/com/google/dart/compiler/DartCompilerMainContext.java
@@ -4,6 +4,7 @@
package com.google.dart.compiler;
+import com.google.dart.compiler.ast.DartUnit;
import com.google.dart.compiler.ast.LibraryUnit;
import com.google.dart.compiler.metrics.CompilerMetrics;
import com.google.dart.compiler.parser.DartParser;
@@ -183,4 +184,9 @@ final class DartCompilerMainContext extends DartCompilerListener implements
public LibrarySource getSystemLibraryFor(String importSpec) {
return compilerConfiguration.getSystemLibraryFor(importSpec);
}
+
+ @Override
+ public void unitCompiled(DartUnit unit) {
+ listener.unitCompiled(unit);
+ }
}

Powered by Google App Engine
This is Rietveld 408576698