diff options
author | paltherr <paltherr@epfl.ch> | 2004-12-03 13:07:12 +0000 |
---|---|---|
committer | paltherr <paltherr@epfl.ch> | 2004-12-03 13:07:12 +0000 |
commit | 19158d78f8ca6d375f0da0a9425d99e560102895 (patch) | |
tree | 8fe338b6ffefdf61dfb670550da27823f072238f /sources/scalac/Phase.java | |
parent | a78d745dbd1fbc3788bbbd11755c42c5d2b1d67a (diff) | |
download | scala-19158d78f8ca6d375f0da0a9425d99e560102895.tar.gz scala-19158d78f8ca6d375f0da0a9425d99e560102895.tar.bz2 scala-19158d78f8ca6d375f0da0a9425d99e560102895.zip |
- Removed old checkers
Diffstat (limited to 'sources/scalac/Phase.java')
-rw-r--r-- | sources/scalac/Phase.java | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/sources/scalac/Phase.java b/sources/scalac/Phase.java index 778ea7ca26..7d9c785a13 100644 --- a/sources/scalac/Phase.java +++ b/sources/scalac/Phase.java @@ -11,7 +11,6 @@ package scalac; import scalac.ast.printer.TreePrinter; import scalac.symtab.Symbol; import scalac.symtab.Type; -import scalac.checkers.Checker; public abstract class Phase { @@ -77,22 +76,6 @@ public abstract class Phase { // !!! unit, unit.source + "-" + name() + ".gdl"); } - /** Checks all compilation units. */ - public void check(Global global) { - for (int i = 0; i < global.units.length; i++) check(global.units[i]); - } - - /** Check the result of this phase for the given compilation unit. */ - public void check(CompilationUnit unit) { - Checker[] checkers = postCheckers(unit.global); - for (int i = 0; i < checkers.length; i++) checkers[i].traverse(unit); - } - - /** Returns an array of checkers which can be applied after the phase. */ - public Checker[] postCheckers(Global global) { - return new Checker[0]; - } - /** Returns the name of this phase. */ public final String toString() { return descriptor.name(); |