summaryrefslogtreecommitdiff
path: root/sources/scalac/Phase.java
diff options
context:
space:
mode:
authorpaltherr <paltherr@epfl.ch>2003-12-11 10:20:12 +0000
committerpaltherr <paltherr@epfl.ch>2003-12-11 10:20:12 +0000
commit9b0529c56f667fb6cec884b4542d88a5b8462380 (patch)
tree8849d614f1456cb381999baec6af26e38b4945e1 /sources/scalac/Phase.java
parentf36f1385f404bf92e2c3bcf62cccec3dcdba27bc (diff)
downloadscala-9b0529c56f667fb6cec884b4542d88a5b8462380.tar.gz
scala-9b0529c56f667fb6cec884b4542d88a5b8462380.tar.bz2
scala-9b0529c56f667fb6cec884b4542d88a5b8462380.zip
- Redesigned the tree printing scheme to enable...
- Redesigned the tree printing scheme to enable printing of attributed trees
Diffstat (limited to 'sources/scalac/Phase.java')
-rw-r--r--sources/scalac/Phase.java7
1 files changed, 0 insertions, 7 deletions
diff --git a/sources/scalac/Phase.java b/sources/scalac/Phase.java
index 33190960bf..8ce7fd5c53 100644
--- a/sources/scalac/Phase.java
+++ b/sources/scalac/Phase.java
@@ -65,13 +65,6 @@ public abstract class Phase {
/** Applies this phase to the given compilation units. */
public abstract void apply(Unit[] units);
- /** Prints all compilation units. */
- public void print(Global global) {
- TreePrinter printer = global.printer;
- for (int i = 0; i < global.units.length; i++)
- printer.print(global.units[i]);
- }
-
/** Graphs all compilation units. */
public void graph(Global global) {
for (int i = 0; i < global.units.length; i++) graph(global.units[i]);