| 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 b80806e6a62118ca8c62d7afd7c772c7cb33b498..c34dffd11d64b8ead56ca1d594bf3c15bc4f77d3 100644
|
| --- a/compiler/java/com/google/dart/compiler/DartCompilerListener.java
|
| +++ b/compiler/java/com/google/dart/compiler/DartCompilerListener.java
|
| @@ -4,6 +4,8 @@
|
|
|
| package com.google.dart.compiler;
|
|
|
| +import com.google.dart.compiler.ast.DartUnit;
|
| +
|
| /**
|
| * Abstract class that {@link DartCompiler} consumers can use to monitor
|
| * compilation progress and report various problems that occur during
|
| @@ -22,4 +24,11 @@ public abstract class DartCompilerListener {
|
| public abstract void compilationWarning(DartCompilationError event);
|
|
|
| public abstract void typeError(DartCompilationError event);
|
| +
|
| + /**
|
| + * Called by the compiler after the resolution and type analyzer phase for each unit.
|
| + *
|
| + * @param unit the DartUnit having just been compiled. (not <code>null</code>)
|
| + */
|
| + public abstract void unitCompiled(DartUnit unit);
|
| }
|
|
|