diff options
author | Martin Odersky <odersky@gmail.com> | 2004-07-01 14:03:41 +0000 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2004-07-01 14:03:41 +0000 |
commit | cffaae565155f3ffa95865dc469c1a1d7cbe0498 (patch) | |
tree | 4db08d4a30af008e2deeb4ee2ea45f0d69aa7654 /sources/scalac/Phase.java | |
parent | c8065927475a558d9ad4580dedcc1b91296f9da4 (diff) | |
download | scala-cffaae565155f3ffa95865dc469c1a1d7cbe0498.tar.gz scala-cffaae565155f3ffa95865dc469c1a1d7cbe0498.tar.bz2 scala-cffaae565155f3ffa95865dc469c1a1d7cbe0498.zip |
*** empty log message ***
Diffstat (limited to 'sources/scalac/Phase.java')
-rw-r--r-- | sources/scalac/Phase.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sources/scalac/Phase.java b/sources/scalac/Phase.java index bd748a876e..778ea7ca26 100644 --- a/sources/scalac/Phase.java +++ b/sources/scalac/Phase.java @@ -64,7 +64,7 @@ public abstract class Phase { } /** Applies this phase to the given compilation units. */ - public abstract void apply(Unit[] units); + public abstract void apply(CompilationUnit[] units); /** Graphs all compilation units. */ public void graph(Global global) { @@ -72,7 +72,7 @@ public abstract class Phase { } /** Graphs the result of this phase for the given compilation unit. */ - public void graph(Unit unit) { + public void graph(CompilationUnit unit) { // !!! new scala.compiler.gdl.TreePrinter().printInFile( // !!! unit, unit.source + "-" + name() + ".gdl"); } @@ -83,7 +83,7 @@ public abstract class Phase { } /** Check the result of this phase for the given compilation unit. */ - public void check(Unit unit) { + public void check(CompilationUnit unit) { Checker[] checkers = postCheckers(unit.global); for (int i = 0; i < checkers.length; i++) checkers[i].traverse(unit); } |