diff options
author | paltherr <paltherr@epfl.ch> | 2004-02-19 13:08:48 +0000 |
---|---|---|
committer | paltherr <paltherr@epfl.ch> | 2004-02-19 13:08:48 +0000 |
commit | d19cd4e6791347cfbcd161c02a49eebef4aab686 (patch) | |
tree | c8cc3229b42c7656e9148765b0fac3f22e21252b /sources/scalac/Global.java | |
parent | 3b4e70e1bdf4dcf237d398157b13cbd941e1001e (diff) | |
download | scala-d19cd4e6791347cfbcd161c02a49eebef4aab686.tar.gz scala-d19cd4e6791347cfbcd161c02a49eebef4aab686.tar.bz2 scala-d19cd4e6791347cfbcd161c02a49eebef4aab686.zip |
- Removed java version of files translated to s...
- Removed java version of files translated to scala
Diffstat (limited to 'sources/scalac/Global.java')
-rw-r--r-- | sources/scalac/Global.java | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/sources/scalac/Global.java b/sources/scalac/Global.java index 39a5f8d08d..3b98951b6c 100644 --- a/sources/scalac/Global.java +++ b/sources/scalac/Global.java @@ -29,6 +29,7 @@ import scalac.backend.Primitives; import scalac.symtab.*; // !!! >>> Interpreter stuff import scalac.symtab.Definitions; +import scalac.typechecker.Infer; import scalac.util.*; /** The global environment of a compiler run @@ -36,7 +37,7 @@ import scalac.util.*; * @author Matthias Zenger * @version 1.0 */ -public class Global { +public abstract class Global { public static Global instance; @@ -166,12 +167,9 @@ public class Global { /** hooks for installing printers */ - protected TreePrinter newTextTreePrinter(PrintWriter writer) { - return new TextTreePrinter(writer); - } - protected TreePrinter newHTMLTreePrinter(PrintWriter writer) { - return new HTMLTreePrinter(writer); - } + public abstract Infer newInfer(); + public abstract TreePrinter newTextTreePrinter(PrintWriter writer); + public abstract TreePrinter newHTMLTreePrinter(PrintWriter writer); /** * Creates an instance variable. |